summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Assembler/2008-02-18-IntPointerCrash.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Assembler/2008-02-18-IntPointerCrash.ll b/llvm/test/Assembler/2008-02-18-IntPointerCrash.ll
new file mode 100644
index 00000000000..69632ae85cd
--- /dev/null
+++ b/llvm/test/Assembler/2008-02-18-IntPointerCrash.ll
@@ -0,0 +1,6 @@
+; RUN: not llvm-as %s |& grep {is invalid or}
+; PR2060
+
+define i8* @foo() {
+ ret i8* 0
+}
OpenPOWER on IntegriCloud