]> granicus.if.org Git - clang/commitdiff
test the parser only, not sema.
authorChris Lattner <sabre@nondot.org>
Sat, 25 Aug 2007 05:26:51 +0000 (05:26 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 25 Aug 2007 05:26:51 +0000 (05:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41395 91177308-0d34-0410-b5e6-96231b3b80d8

test/Parser/expressions.c

index 3abb6d397dc6de20df96b22761a16af0e37f1ab2..1fb2d8968c1f07c750484ead9aa0726627c73eec 100644 (file)
@@ -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;