Skip to content

Commit ee98069

Browse files
committed
This file is an invalid C file, test that it is properly rejected
llvm-svn: 27664
1 parent 49c1dc2 commit ee98069

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | not grep declare
1+
// RUN: not %llvmgcc -xc %s -S -o -
2+
3+
// This is a malformed program that is not caught by llvmgcc3.
4+
// XFAIL: llvmgcc3
5+
26

37
int one (int a) {
48
two (a, 5);

0 commit comments

Comments
 (0)