1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/Object/dllimport-globalref.ll
Peter Collingbourne f928cd9cb9 Object: Add XFAILed test case for r239560.
We ought to also emit unmangled references to dllimported functions,
but no existing linker needs this.

llvm-svn: 240562
2015-06-24 18:03:39 +00:00

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