mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 23:20:54 +00:00
1841925820
We ought to also emit unmangled references to dllimported functions, but no existing linker needs this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240562 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
335 B
LLVM
15 lines
335 B
LLVM
; RUN: llvm-as %s -o - | llvm-nm - | FileCheck %s
|
|
|
|
; We should technically emit an unmangled reference to f here,
|
|
; but no existing linker needs this.
|
|
|
|
; XFAIL: *
|
|
|
|
target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
|
|
target triple = "x86_64-pc-windows-msvc"
|
|
|
|
; CHECK: U f
|
|
|
|
declare dllimport void @f()
|
|
@fp = constant void ()* @f
|