aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Lexer/constants.c15
-rw-r--r--test/Lexer/number.c9
2 files changed, 11 insertions, 13 deletions
diff --git a/test/Lexer/constants.c b/test/Lexer/constants.c
index 014a8f1235..c046581633 100644
--- a/test/Lexer/constants.c
+++ b/test/Lexer/constants.c
@@ -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
index 253453c764..0000000000
--- a/test/Lexer/number.c
+++ /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
-