diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-04 14:28:33 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-04 14:28:33 +0000 |
| commit | 450eb99c8913e84f9eb854c9aca39a3969d7d532 (patch) | |
| tree | 9817f6e3287946dfe621457d0546d811fee19865 | |
| parent | 00db4c6f002289bc50338b00e444290baf8f0189 (diff) | |
| download | bcm5719-llvm-450eb99c8913e84f9eb854c9aca39a3969d7d532.tar.gz bcm5719-llvm-450eb99c8913e84f9eb854c9aca39a3969d7d532.zip | |
Convert test to FileCheck.
llvm-svn: 185635
| -rw-r--r-- | clang/test/CodeGen/2004-11-27-StaticFunctionRedeclare.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/clang/test/CodeGen/2004-11-27-StaticFunctionRedeclare.c b/clang/test/CodeGen/2004-11-27-StaticFunctionRedeclare.c index 55efa86865d..5bfe2a455cd 100644 --- a/clang/test/CodeGen/2004-11-27-StaticFunctionRedeclare.c +++ b/clang/test/CodeGen/2004-11-27-StaticFunctionRedeclare.c @@ -1,12 +1,14 @@ -// RUN: %clang_cc1 -emit-llvm %s -o - | \ -// RUN: opt -std-compile-opts -emit-llvm | not grep {declare i32.*func} +// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s // There should not be an unresolved reference to func here. Believe it or not, -// the "expected result" is a function named 'func' which is internal and +// the "expected result" is a function named 'func' which is internal and // referenced by bar(). // This is PR244 +// CHECK: define void @bar( +// CHECK: call {{.*}} @func +// CHECK: define internal i32 @func( static int func(); void bar() { int func(); |

