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

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


Author: lattner
Date: Fri Dec 12 00:21:41 2008
New Revision: 60931

URL: http://llvm.org/viewvc/llvm-project?rev=60931&view=rev
Log:
rename recovery-3 to recovery.c

Added:
    cfe/trunk/test/Parser/recovery.c
      - copied unchanged from r60930, cfe/trunk/test/Parser/recovery-3.c
Removed:
    cfe/trunk/test/Parser/recovery-3.c

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

==============================================================================
--- cfe/trunk/test/Parser/recovery-3.c (original)
+++ cfe/trunk/test/Parser/recovery-3.c (removed)
@@ -1,61 +0,0 @@
-// RUN: clang -fsyntax-only -verify -pedantic %s
-
-// PR2241
-float test2241[] = { 
-  1e,            // expected-error {{exponent}}
-  1ee0           // expected-error {{exponent}}
-};
-
-
-// Testcase derived from PR2692
-static char *f (char * (*g) (char **, int), char **p, ...) {
-    char *s;
-    va_list v;                              // expected-error {{identifier}}
-    s = g (p, __builtin_va_arg(v, int));    // expected-error {{identifier}} expected-warning {{extension}}
-}
-
-
-// PR3172
-} // expected-error {{expected external declaration}}
-
-
-// rdar://6094870
-int test(int) {
-  struct { int i; } x;
-  
-  if (x.hello)   // expected-error {{no member named 'hello'}}
-    test(0);
-  else
-    ;
-  
-  if (x.hello == 0)   // expected-error {{no member named 'hello'}}
-    test(0);
-  else
-    ;
-  
-  if ((x.hello == 0))   // expected-error {{no member named 'hello'}}
-    test(0);
-  else
-    ;
-  
-  if (x.i == 0))   // expected-error {{expected expression}}
-    test(0);
-  else
-    ;
-}
-
-
-
-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