[cfe-commits] r60930 - in /cfe/trunk/test/Parser: recovery-1.c recovery-3.c

Chris Lattner sabre at nondot.org
Thu Dec 11 22:21:18 PST 2008


Author: lattner
Date: Fri Dec 12 00:21:18 2008
New Revision: 60930

URL: http://llvm.org/viewvc/llvm-project?rev=60930&view=rev
Log:
merge recovery-1 into recovery-3.

Removed:
    cfe/trunk/test/Parser/recovery-1.c
Modified:
    cfe/trunk/test/Parser/recovery-3.c

Removed: cfe/trunk/test/Parser/recovery-1.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/recovery-1.c?rev=60929&view=auto

==============================================================================
--- cfe/trunk/test/Parser/recovery-1.c (original)
+++ cfe/trunk/test/Parser/recovery-1.c (removed)
@@ -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}} */
-};

Modified: cfe/trunk/test/Parser/recovery-3.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/recovery-3.c?rev=60930&r1=60929&r2=60930&view=diff

==============================================================================
--- cfe/trunk/test/Parser/recovery-3.c (original)
+++ cfe/trunk/test/Parser/recovery-3.c Fri Dec 12 00:21:18 2008
@@ -44,3 +44,18 @@
     ;
 }
 
+
+
+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}} */
+};





More information about the cfe-commits mailing list