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