]> granicus.if.org Git - clang/commitdiff
merge recovery-1 into recovery-3.
authorChris Lattner <sabre@nondot.org>
Fri, 12 Dec 2008 06:21:18 +0000 (06:21 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 12 Dec 2008 06:21:18 +0000 (06:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60930 91177308-0d34-0410-b5e6-96231b3b80d8

test/Parser/recovery-1.c [deleted file]
test/Parser/recovery-3.c

diff --git a/test/Parser/recovery-1.c b/test/Parser/recovery-1.c
deleted file mode 100644 (file)
index fa7892d..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// RUN: clang -fsyntax-only -fno-caret-diagnostics -pedantic %s 2>&1 | grep warning | wc -l | grep 1 &&
-// RUN: clang -fsyntax-only -verify -pedantic %s
-
-char ((((                       /* expected-note {{to match this '('}} */
-*X x ] ))));                    /* expected-error {{expected ')'}} */
-
-;   // expected-warning {{ISO C does not allow an extra ';' outside of a function}}
-
-
-
-
-struct S { void *X, *Y; };
-
-struct S A = {
-       &BADIDENT, 0     /* expected-error {{use of undeclared identifier}} */
-};
index 0c8206fe280e8de6d6da63a17e3b11f0e715a2d6..ca9226037228941c0f431a8fd2881419b99b02d0 100644 (file)
@@ -44,3 +44,18 @@ int test(int) {
     ;
 }
 
+
+
+char ((((                       /* expected-note {{to match this '('}} */
+         *X x ] ))));                    /* expected-error {{expected ')'}} */
+
+;   // expected-warning {{ISO C does not allow an extra ';' outside of a function}}
+
+
+
+
+struct S { void *X, *Y; };
+
+struct S A = {
+&BADIDENT, 0     /* expected-error {{use of undeclared identifier}} */
+};