[llvm-commits] CVS: llvm/test/Assembler/2007-04-15-BadIntrinsic.ll
Reid Spencer
reid at x10sys.com
Sun Apr 15 23:52:42 PDT 2007
Changes in directory llvm/test/Assembler:
2007-04-15-BadIntrinsic.ll added (r1.1)
---
Log message:
Test case for PR1328: http://llvm.org/PR1328 .
---
Diffs of the changes: (+9 -0)
2007-04-15-BadIntrinsic.ll | 9 +++++++++
1 files changed, 9 insertions(+)
Index: llvm/test/Assembler/2007-04-15-BadIntrinsic.ll
diff -c /dev/null llvm/test/Assembler/2007-04-15-BadIntrinsic.ll:1.1
*** /dev/null Mon Apr 16 01:52:31 2007
--- llvm/test/Assembler/2007-04-15-BadIntrinsic.ll Mon Apr 16 01:52:21 2007
***************
*** 0 ****
--- 1,9 ----
+ ; RUN: llvm-as < %s -o /dev/null -f |& grep {Call to invalid LLVM intrinsic}
+
+ declare i32 @llvm.foobar(i32 %foo)
+
+ define i32 @test() {
+ %nada = call i32 @llvm.foobar(i32 0)
+ ret i32 %nada
+ }
+
More information about the llvm-commits
mailing list