diff options
Diffstat (limited to 'test/Lexer/constants.c')
-rw-r--r-- | test/Lexer/constants.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/Lexer/constants.c b/test/Lexer/constants.c index 2903885..f0cd4d7 100644 --- a/test/Lexer/constants.c +++ b/test/Lexer/constants.c @@ -13,7 +13,12 @@ float Y = 08.123456; // PR2252 #if -0x8000000000000000 // should not warn. #endif - +#if -01000000000000000000000 // should not warn. +#endif +#if 9223372036854775808 // expected-warning {{integer constant is larger than the largest signed integer type}} +#endif +#if 0x10000000000000000 // expected-error {{integer constant is larger than the largest unsigned integer type}} +#endif int c[] = { 'df', // expected-warning {{multi-character character constant}} |