This file is an invalid C file, test that it is properly rejected
authorChris Lattner <sabre@nondot.org>
Thu, 13 Apr 2006 17:32:03 +0000 (17:32 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 13 Apr 2006 17:32:03 +0000 (17:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27664 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2004-02-20-StaticRedeclare.c.tr

index 4549300e7bc7dc8a894e7ec0955982dba19c491e..13acd816bbbe34c1a91e89b8d7bb7610e83d62d6 100644 (file)
@@ -1,4 +1,8 @@
-// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | not grep declare
+// RUN: not %llvmgcc -xc %s -S -o - 
+
+// This is a malformed program that is not caught by llvmgcc3.
+// XFAIL: llvmgcc3
+
 
 int one (int a) {
   two (a, 5);