1*9880d681SAndroid Build Coastguard Worker; RUN: llvm-as %s -o - | llvm-nm - | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Workertarget datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128" 4*9880d681SAndroid Build Coastguard Workertarget triple = "x86_64-pc-windows-msvc" 5*9880d681SAndroid Build Coastguard Worker 6*9880d681SAndroid Build Coastguard Worker; CHECK: U __imp_f 7*9880d681SAndroid Build Coastguard Worker; CHECK: U __imp_v 8*9880d681SAndroid Build Coastguard Worker; CHECK: T g 9*9880d681SAndroid Build Coastguard Worker 10*9880d681SAndroid Build Coastguard Workerdeclare dllimport void @f() 11*9880d681SAndroid Build Coastguard Worker@v = external dllimport global i32 12*9880d681SAndroid Build Coastguard Worker 13*9880d681SAndroid Build Coastguard Workerdefine void @g() { 14*9880d681SAndroid Build Coastguard Worker call void @f() 15*9880d681SAndroid Build Coastguard Worker store i32 42, i32* @v 16*9880d681SAndroid Build Coastguard Worker ret void 17*9880d681SAndroid Build Coastguard Worker} 18