diff options
Diffstat (limited to 'test/Object/dllimport-globalref.ll')
-rw-r--r-- | test/Object/dllimport-globalref.ll | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/Object/dllimport-globalref.ll b/test/Object/dllimport-globalref.ll new file mode 100644 index 000000000000..dd518bc2266c --- /dev/null +++ b/test/Object/dllimport-globalref.ll @@ -0,0 +1,14 @@ +; 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 |