From: Chris Lattner Date: Thu, 13 Apr 2006 17:32:03 +0000 (+0000) Subject: This file is an invalid C file, test that it is properly rejected X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5be639eb18439b8d9157ccf5e113a6902efcef87;p=oota-llvm.git This file is an invalid C file, test that it is properly rejected git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27664 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CFrontend/2004-02-20-StaticRedeclare.c.tr b/test/CFrontend/2004-02-20-StaticRedeclare.c.tr index 4549300e7bc..13acd816bbb 100644 --- a/test/CFrontend/2004-02-20-StaticRedeclare.c.tr +++ b/test/CFrontend/2004-02-20-StaticRedeclare.c.tr @@ -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);