xref: /llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/split-typed-decl.ll (revision b9ae06ba15936c9802d5668cea260ad36a243a10)
1;; Generating bitcode files with split LTO modules should not crash if there are
2;; typed declarations in sources.
3
4; RUN: opt --thinlto-bc --thinlto-split-lto-unit -o - %s
5
6@_ZTV3Foo = external constant { [3 x ptr] }, !type !0
7
8define void @Bar() {
9  ret void
10}
11
12!0 = !{i64 16, !"_ZTS3Foo"}
13