[cfe-commits] r39696 - /cfe/cfe/trunk/test/Parser/recovery-1.c

bwendlin at cs.uiuc.edu bwendlin at cs.uiuc.edu
Wed Jul 11 09:47:15 PDT 2007


Author: bwendlin
Date: Wed Jul 11 11:47:15 2007
New Revision: 39696

URL: http://llvm.org/viewvc/llvm-project?rev=39696&view=rev
Log:
Submitted by: Bill Wendling

Fixed checking to coincide with the correct lines.

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

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

==============================================================================
--- cfe/cfe/trunk/test/Parser/recovery-1.c (original)
+++ cfe/cfe/trunk/test/Parser/recovery-1.c Wed Jul 11 11:47:15 2007
@@ -1,7 +1,7 @@
 // RUN: clang -fsyntax-only -fno-caret-diagnostics -pedantic %s 2>&1 | grep warning | wc -l | grep 1
 // RUN: clang -parse-ast-check %s
 
-char ((((*X x  ]  /* expected-error {{expected ')'}} */
- ))));            /* expected-error {{to match this '('}} */
+char ((((                       /* expected-error {{to match this '('}} */
+*X x ] ))));                    /* expected-error {{expected ')'}} */
 
 ;   // expected-warning {{ISO C does not allow an extra ';' outside of a function}}





More information about the cfe-commits mailing list