aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/init.c
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2010-04-18 19:06:43 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2010-04-18 19:06:43 +0000
commita75b71f967d7f090ef16a3d255baddbdce7ff81e (patch)
tree69a4f231ee98c24d23fc325536c5410a28f98e34 /test/CodeGen/init.c
parenta77eaa9f4562dc611aa121a20ee8f2e2146765ce (diff)
recommit r101568 to fix PR6766
as a side-effect, remove two FIXMEs now fixed git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101726 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/init.c')
-rw-r--r--test/CodeGen/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/init.c b/test/CodeGen/init.c
index 13ffad1731..d48e723c58 100644
--- a/test/CodeGen/init.c
+++ b/test/CodeGen/init.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm %s -o %t
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck %s
void f1() {
// Scalars in braces.
@@ -22,8 +22,8 @@ void f3() {
}
// Constants
-// RUN: grep '@g3 = constant i32 10' %t
-// RUN: grep '@f4.g4 = internal constant i32 12' %t
+// CHECK: @g3 = constant i32 10
+// CHECK: @f4.g4 = internal constant i32 12
const int g3 = 10;
int f4() {
static const int g4 = 12;