diff options
Diffstat (limited to 'clang/test/Preprocessor/expr_multichar.c')
-rw-r--r-- | clang/test/Preprocessor/expr_multichar.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/expr_multichar.c b/clang/test/Preprocessor/expr_multichar.c new file mode 100644 index 0000000..8ab12d9 --- /dev/null +++ b/clang/test/Preprocessor/expr_multichar.c @@ -0,0 +1,5 @@ +// RUN: %clang_cc1 < %s -E -verify -triple i686-pc-linux-gnu + +#if (('1234' >> 24) != '1') +#error Bad multichar constant calculation! +#endif |