aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-25 05:26:51 +0000
committerChris Lattner <sabre@nondot.org>2007-08-25 05:26:51 +0000
commit388577b3bd05bc1c442365b10e8960306e28a261 (patch)
tree1604e6c0ffc7c48e14a6cbffab6f0ddbfe59d9ee
parenteb14fe839ec24c2ca14e5f094be147a34e3d3339 (diff)
test the parser only, not sema.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41395 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Parser/expressions.c6
1 files changed, 2 insertions, 4 deletions
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;