12 lines · plain
1; RUN: llvm-split -o %t %s2; RUN: llvm-dis -o - %t0 | FileCheck --check-prefix=CHECK0 %s3; RUN: llvm-dis -o - %t1 | FileCheck --check-prefix=CHECK1 %s4 5; CHECK0: @foo = global ptr @bar6; CHECK1: @foo = external global ptr7@foo = global ptr @bar8 9; CHECK0: @bar = external global ptr10; CHECK1: @bar = global ptr @foo11@bar = global ptr @foo12