Peter Collingbourne | 29c6f48 | 2018-02-06 03:29:18 +0000 | [diff] [blame] | 1 | ; RUN: opt -thinlto-bc -o %t %s |
2 | ; RUN: llvm-modextract -b -n 0 -o - %t | llvm-dis | FileCheck --check-prefix=M0 %s | ||||
3 | ; RUN: llvm-modextract -b -n 1 -o - %t | llvm-dis | FileCheck --check-prefix=M1 %s | ||||
4 | |||||
5 | target triple = "x86_64-unknown-linux-gnu" | ||||
6 | |||||
7 | @g = constant i32 0, !type !0 | ||||
8 | !0 = !{i32 0, !"typeid"} | ||||
9 | |||||
10 | ; M0: module asm "ret" | ||||
11 | ; M1-NOT: module asm | ||||
12 | module asm "ret" |