GlobalOpt: FileCheck-ize test
[oota-llvm.git] / test / Transforms / GlobalOpt / 2009-03-06-Anonymous.ll
index 62f75e123be7dd27b081cc2513f99c066c80b5ee..db2673af74218a203c4ea1b57cd200edf6c31a82 100644 (file)
@@ -1,9 +1,11 @@
-; RUN: opt < %s -globalopt -S | grep internal | count 2
+; RUN: opt < %s -globalopt -S | FileCheck %s
 
 global i32 0
+; CHECK: @0 = internal global i32 0
 define i32* @1() {
        ret i32* @0
 }
+; CHECK: define internal fastcc i32* @1()
 define i32* @f() {
 entry:
        call i32* @1()