summaryrefslogtreecommitdiffstats
path: root/llvm/test/LTO/Resolution/X86/intrinsic.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/LTO/Resolution/X86/intrinsic.ll')
-rw-r--r--llvm/test/LTO/Resolution/X86/intrinsic.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/LTO/Resolution/X86/intrinsic.ll b/llvm/test/LTO/Resolution/X86/intrinsic.ll
new file mode 100644
index 00000000000..f785f8f4f71
--- /dev/null
+++ b/llvm/test/LTO/Resolution/X86/intrinsic.ll
@@ -0,0 +1,8 @@
+; RUN: llvm-as %s -o %t1.o
+; RUN: llvm-as %p/Inputs/intrinsic.ll -o %t2.o
+; RUN: llvm-lto2 -o %t3.o %t1.o %t2.o -r %t1.o,foo
+
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+%foo = type { }
+declare void @foo( %foo* )
OpenPOWER on IntegriCloud