]> granicus.if.org Git - clang/commitdiff
split into two tests.
authorChris Lattner <sabre@nondot.org>
Fri, 21 Nov 2008 01:04:13 +0000 (01:04 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 21 Nov 2008 01:04:13 +0000 (01:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59770 91177308-0d34-0410-b5e6-96231b3b80d8

test/Lexer/rdr-6096838-2.c [new file with mode: 0644]
test/Lexer/rdr-6096838.c

diff --git a/test/Lexer/rdr-6096838-2.c b/test/Lexer/rdr-6096838-2.c
new file mode 100644 (file)
index 0000000..152617e
--- /dev/null
@@ -0,0 +1,5 @@
+/* RUN: clang -pedantic -std=gnu89 -fsyntax-only -verify %s
+ rdar://6096838
+ */
+
+long double d = 0x0.0000003ffffffff00000p-16357L; /* expected-warning {{ hexadecimal floating constants are a C99 feature }} */
index 1b56a910db71645db561af6d448131005c3256e8..3a7a0d5f1ff537a7c78e328c0402ece7eba4a140 100644 (file)
@@ -1,14 +1,6 @@
 /* RUN: clang -fsyntax-only -verify %s &&
- * RUN: clang -std=gnu89 -fsyntax-only -verify %s &&
- * RUN: clang -DPEDANTIC -pedantic -std=gnu89 -fsyntax-only -verify %s
+ * RUN: clang -std=gnu89 -fsyntax-only -verify %s
+ rdar://6096838
  */
 
-#ifdef PEDANTIC
-
-long double d = 0x0.0000003ffffffff00000p-16357L; /* expected-warning {{ hexadecimal floating constants are a C99 feature }} */
-
-#else
-
 long double d = 0x0.0000003ffffffff00000p-16357L;
-
-#endif