• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
4
5; CHECK0: @foo = global i8* bitcast
6; CHECK1: @foo = external global i8*
7@foo = global i8* bitcast (i8** @bar to i8*)
8
9; CHECK0: @bar = external global i8*
10; CHECK1: @bar = global i8* bitcast
11@bar = global i8* bitcast (i8** @foo to i8*)
12