1 ; RUN: llvm-split -o %t %s
2 ; RUN: llvm-dis -o - %t0 | FileCheck --check-prefix=CHECK0 %s
3 ; RUN: llvm-dis -o - %t1 | FileCheck --check-prefix=CHECK1 %s
5 ; CHECK0-DAG: @afoo = alias [2 x ptr], ptr @foo
6 ; CHECK1-DAG: @afoo = external global [2 x ptr]
7 @afoo = alias [2 x ptr], ptr @foo
9 ; CHECK0-DAG: declare void @abar()
10 ; CHECK1-DAG: @abar = alias void (), ptr @bar
11 @abar = alias void (), ptr @bar
13 @foo = global [2 x ptr] [ptr @bar, ptr @abar]
16 store [2 x ptr] zeroinitializer, ptr @foo
17 store [2 x ptr] zeroinitializer, ptr @afoo