summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/constants.c
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2013-07-26 00:06:45 +0000
committerEli Friedman <eli.friedman@gmail.com>2013-07-26 00:06:45 +0000
commitab09187553f22f42c528bd4d24c73318246a7947 (patch)
tree54190405b35049f874798581e909982c8b539394 /clang/test/Lexer/constants.c
parent602577569d1a8b4c9f53739b236f0a945f1ec2f3 (diff)
downloadbcm5719-llvm-ab09187553f22f42c528bd4d24c73318246a7947.tar.gz
bcm5719-llvm-ab09187553f22f42c528bd4d24c73318246a7947.zip
Partially revert r186903.
It turns out that Plum Hall depends on us not emitting an error on integer literals which fit into long long, but fit into unsigned long long. So C99 conformance requires not conforming to C99. :) llvm-svn: 187172
Diffstat (limited to 'clang/test/Lexer/constants.c')
-rw-r--r--clang/test/Lexer/constants.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Lexer/constants.c b/clang/test/Lexer/constants.c
index c1fb54df42d..f0cd4d7cf29 100644
--- a/clang/test/Lexer/constants.c
+++ b/clang/test/Lexer/constants.c
@@ -15,7 +15,7 @@ float Y = 08.123456;
#endif
#if -01000000000000000000000 // should not warn.
#endif
-#if 9223372036854775808 // expected-error {{integer constant is larger than the largest signed integer type}}
+#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
OpenPOWER on IntegriCloud