1 ; RUN: opt -thinlto-bc -thinlto-split-lto-unit -o %t0.bc %s
2 ; RUN: llvm-lto2 run -r %t0.bc,__imp_f,l \
6 ; RUN: -r %t0.bc,main,x \
7 ; RUN: -save-temps -o %t1 %t0.bc
8 ; RUN: llvm-dis %t1.1.3.import.bc -o - | FileCheck %s
9 source_filename = "test.cpp"
10 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
11 target triple = "x86_64-unknown-linux-gnu"
14 @g = global i8 42, comdat, !type !0
17 ; CHECK-NOT: dllimport
19 define available_externally dllimport i8* @f() {
29 %2 = ptrtoint i8* %1 to i32
32 !0 = !{i32 0, !"typeid"}