]> granicus.if.org Git - clang/commitdiff
merge number.c into constants.c and start running it in -verify mode.
authorChris Lattner <sabre@nondot.org>
Tue, 28 Apr 2009 18:43:12 +0000 (18:43 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 28 Apr 2009 18:43:12 +0000 (18:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70310 91177308-0d34-0410-b5e6-96231b3b80d8

test/Lexer/constants.c
test/Lexer/number.c [deleted file]

index 014a8f1235ca116619e87016027672d8eb27dac6..c046581633672e3f4326aea59b62c03109212ed4 100644 (file)
@@ -1,8 +1,15 @@
-/* RUN: clang-cc -fsyntax-only -verify %s
- */
+// RUN: clang-cc -fsyntax-only -verify %s
 
-int x = 000000080;  /* expected-error {{invalid digit}} */
+int x = 000000080;  // expected-error {{invalid digit}}
 
 int y = 0000\
-00080;             /* expected-error {{invalid digit}} */
+00080;             // expected-error {{invalid digit}}
 
+
+
+float X = 1.17549435e-38F;
+float Y = 08.123456;
+
+// PR2252
+#if -0x8000000000000000  // should not warn.
+#endif
diff --git a/test/Lexer/number.c b/test/Lexer/number.c
deleted file mode 100644 (file)
index 253453c..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-// RUN: clang-cc %s -fsyntax-only
-
-float X = 1.17549435e-38F;
-float Y = 08.123456;
-
-// PR2252
-#if -0x8000000000000000  // should not warn.
-#endif
-