diff options
author | Richard Barton <richard.barton@arm.com> | 2014-02-24 18:43:28 +0000 |
---|---|---|
committer | Richard Barton <richard.barton@arm.com> | 2014-02-24 18:43:28 +0000 |
commit | c9b5f35ec1b36e168e169f5abe6b9e16c706c82e (patch) | |
tree | 6cd13fa6bdde1917ae0bb116365ed245851f9be3 /clang/test/Preprocessor/init.c | |
parent | e89f310952a35e1110d1235449fba55569d95ab9 (diff) | |
download | bcm5719-llvm-c9b5f35ec1b36e168e169f5abe6b9e16c706c82e.tar.gz bcm5719-llvm-c9b5f35ec1b36e168e169f5abe6b9e16c706c82e.zip |
Implement -fno-short-wchar
llvm-svn: 202058
Diffstat (limited to 'clang/test/Preprocessor/init.c')
-rw-r--r-- | clang/test/Preprocessor/init.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/init.c b/clang/test/Preprocessor/init.c index e87e3adc63b..4c70aec2971 100644 --- a/clang/test/Preprocessor/init.c +++ b/clang/test/Preprocessor/init.c @@ -202,6 +202,12 @@ // SHORTWCHAR: #define __WCHAR_TYPE__ unsigned short // SHORTWCHAR: #define __WCHAR_WIDTH__ 16 // +// RUN: %clang_cc1 -E -dM -fno-short-wchar < /dev/null | FileCheck -check-prefix SHORTWCHAR2 %s +// +// SHORTWCHAR2: #define __SIZEOF_WCHAR_T__ 4 +// SHORTWCHAR2: #define __WCHAR_WIDTH__ 32 +// Other definitions vary from platform to platform +// // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-none < /dev/null | FileCheck -check-prefix AARCH64 %s // // AARCH64:#define _LP64 1 |