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 i8*], [2 x i8*]* @foo
6 ; CHECK1-DAG: @afoo = external global [2 x i8*]
7 @afoo = alias [2 x i8*], [2 x i8*]* @foo
9 ; CHECK0-DAG: declare void @abar()
10 ; CHECK1-DAG: @abar = alias void (), void ()* @bar
11 @abar = alias void (), void ()* @bar
13 @foo = global [2 x i8*] [i8* bitcast (void ()* @bar to i8*), i8* bitcast (void ()* @abar to i8*)]
16 store [2 x i8*] zeroinitializer, [2 x i8*]* @foo
17 store [2 x i8*] zeroinitializer, [2 x i8*]* @afoo