aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/equiv_with_fndef.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/equiv_with_fndef.ll')
-rw-r--r--test/CodeGen/X86/equiv_with_fndef.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/X86/equiv_with_fndef.ll b/test/CodeGen/X86/equiv_with_fndef.ll
new file mode 100644
index 0000000..efbb8ab
--- /dev/null
+++ b/test/CodeGen/X86/equiv_with_fndef.ll
@@ -0,0 +1,10 @@
+; RUN: not llc < %s 2>&1 | FileCheck %s
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
+module asm ".equiv pselect, __pselect"
+
+define void @pselect() {
+ ret void
+}
+; CHECK: 'pselect' is a protected alias