From 5be639eb18439b8d9157ccf5e113a6902efcef87 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 13 Apr 2006 17:32:03 +0000 Subject: [PATCH] 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 --- test/CFrontend/2004-02-20-StaticRedeclare.c.tr | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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);