xref: /llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/circular-reference.ll (revision 9950ea66203849df25352b8db8f4ea108ef47a5a)
1cee313d2SEric Christopher; RUN: opt -thinlto-bc -thinlto-split-lto-unit -o %t %s
2cee313d2SEric Christopher; RUN: llvm-modextract -b -n 0 -o - %t | llvm-dis | FileCheck --check-prefix=M0 %s
3cee313d2SEric Christopher; RUN: llvm-modextract -b -n 1 -o - %t | llvm-dis | FileCheck --check-prefix=M1 %s
4cee313d2SEric Christopher
5cee313d2SEric Christopher; M0: @g = external constant
6cee313d2SEric Christopher; M1: @g = constant
7*9950ea66SNikita Popov@g = constant ptr @g, !type !0
8cee313d2SEric Christopher
9cee313d2SEric Christopher!0 = !{i32 0, !"typeid"}
10