llvm.org GIT mirror llvm / 5204fed
Convert test to FileCheck. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208658 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 5 years ago
1 changed file(s) with 8 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
None ; RUN: opt < %s -internalize -internalize-public-api-list main -S | grep internal | count 3
0 ; RUN: opt < %s -internalize -internalize-public-api-list main -S | FileCheck %s
11
22 @A = global i32 0
3 ; CHECK: @A = internal global i32 0
4
35 @B = alias i32* @A
6 ; CHECK: @B = alias internal i32* @A
7
48 @C = alias i32* @B
9 ; CHECK: @C = alias internal i32* @B
510
611 define i32 @main() {
712 %tmp = load i32* @C
813 ret i32 %tmp
914 }
15
16 ; CHECK: define i32 @main() {