diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2015-06-24 18:03:39 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2015-06-24 18:03:39 +0000 |
commit | f549598796e5dc663cb46a90fcc13f275e0fc433 (patch) | |
tree | ffde1709d6914dc3a1f25bc96bbf05ba366af9d9 /llvm/test/Object/dllimport-globalref.ll | |
parent | 7900ef891fc8354efeb3f010b4e7a581e81ba5c9 (diff) | |
download | bcm5719-llvm-f549598796e5dc663cb46a90fcc13f275e0fc433.tar.gz bcm5719-llvm-f549598796e5dc663cb46a90fcc13f275e0fc433.zip |
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
Diffstat (limited to 'llvm/test/Object/dllimport-globalref.ll')
-rw-r--r-- | llvm/test/Object/dllimport-globalref.ll | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm/test/Object/dllimport-globalref.ll b/llvm/test/Object/dllimport-globalref.ll new file mode 100644 index 00000000000..dd518bc2266 --- /dev/null +++ b/llvm/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 |