From 1841925820d2135411b30e25708a0320d3798704 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Wed, 24 Jun 2015 18:03:39 +0000 Subject: [PATCH] Object: Add XFAILed test case for r239560. 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 --- test/Object/dllimport-globalref.ll | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/Object/dllimport-globalref.ll diff --git a/test/Object/dllimport-globalref.ll b/test/Object/dllimport-globalref.ll new file mode 100644 index 00000000000..dd518bc2266 --- /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 -- 2.34.1