From: Chris Lattner Date: Sat, 25 Aug 2007 05:26:51 +0000 (+0000) Subject: test the parser only, not sema. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=388577b3bd05bc1c442365b10e8960306e28a261;p=clang test the parser only, not sema. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41395 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Parser/expressions.c b/test/Parser/expressions.c index 3abb6d397d..1fb2d8968c 100644 --- a/test/Parser/expressions.c +++ b/test/Parser/expressions.c @@ -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;