diff options
author | Chris Lattner <sabre@nondot.org> | 2006-04-13 17:32:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-04-13 17:32:03 +0000 |
commit | 5be639eb18439b8d9157ccf5e113a6902efcef87 (patch) | |
tree | 6c46f1ea51278b6b4cedf4cf6a1f8a61eac100c5 /test/CFrontend | |
parent | 4d4f52221bf3769115fe731cec2bf5938e0c83dd (diff) | |
download | external_llvm-5be639eb18439b8d9157ccf5e113a6902efcef87.zip external_llvm-5be639eb18439b8d9157ccf5e113a6902efcef87.tar.gz external_llvm-5be639eb18439b8d9157ccf5e113a6902efcef87.tar.bz2 |
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
Diffstat (limited to 'test/CFrontend')
-rw-r--r-- | test/CFrontend/2004-02-20-StaticRedeclare.c.tr | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/CFrontend/2004-02-20-StaticRedeclare.c.tr b/test/CFrontend/2004-02-20-StaticRedeclare.c.tr index 4549300..13acd81 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); |