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: @foo = global ptr @bar
6 ; CHECK1: @foo = external global ptr
9 ; CHECK0: @bar = external global ptr
10 ; CHECK1: @bar = global ptr @foo
11 @bar = global ptr @foo