[cfe-commits] r41395 - /cfe/trunk/test/Parser/expressions.c

Chris Lattner sabre at nondot.org
Fri Aug 24 22:26:52 PDT 2007


Author: lattner
Date: Sat Aug 25 00:26:51 2007
New Revision: 41395

URL: http://llvm.org/viewvc/llvm-project?rev=41395&view=rev
Log:
test the parser only, not sema.

Modified:
    cfe/trunk/test/Parser/expressions.c

Modified: cfe/trunk/test/Parser/expressions.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/expressions.c?rev=41395&r1=41394&r2=41395&view=diff

==============================================================================
--- cfe/trunk/test/Parser/expressions.c (original)
+++ cfe/trunk/test/Parser/expressions.c Sat Aug 25 00:26:51 2007
@@ -1,13 +1,11 @@
-// RUN: clang -fsyntax-only %s
-// XFAIL: *
-// FIXME: This is xfailed because we're not analyzing brace initializers yet.
+// RUN: clang -parse-noop %s
 
 void test1() {
   if (sizeof (int){ 1});   // sizeof compound literal
   if (sizeof (int));       // sizeof type
 
   (int)4;   // cast.
-  (int){4}; // compound literal.
+  //(int){4}; // compound literal.
 
   // FIXME: change this to the struct version when we can.
   //int A = (struct{ int a;}){ 1}.a;





More information about the cfe-commits mailing list