linux-packaging-mono/external/llvm/test/Object/dllimport-globalref.ll
Xamarin Public Jenkins (auto-signing) 8625704ad8 Imported Upstream version 5.18.0.179
Former-commit-id: 67aa10e65b237e1c4537630979ee99ebe1374215
2018-10-25 08:34:57 +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