[llvm-commits] CVS: llvm/test/Regression/Assembler/2006-09-28-CrashOnInvalid.ll

Reid Spencer reid at x10sys.com
Thu Sep 28 14:20:21 PDT 2006



Changes in directory llvm/test/Regression/Assembler:

2006-09-28-CrashOnInvalid.ll added (r1.1)
---
Log message:

Add a test case for PR902: http://llvm.org/PR902 .


---
Diffs of the changes:  (+7 -0)

 2006-09-28-CrashOnInvalid.ll |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/test/Regression/Assembler/2006-09-28-CrashOnInvalid.ll
diff -c /dev/null llvm/test/Regression/Assembler/2006-09-28-CrashOnInvalid.ll:1.1
*** /dev/null	Thu Sep 28 16:20:16 2006
--- llvm/test/Regression/Assembler/2006-09-28-CrashOnInvalid.ll	Thu Sep 28 16:20:05 2006
***************
*** 0 ****
--- 1,7 ----
+ ; Test for PR902.  This program is erroneous, but should not crash llvm-as.
+ ; This tests that a simple error is caught and processed correctly.
+ ; RUN: (llvm-as < %s) 2>&1 | grep 'FP constant invalid for type'
+ void %test() {
+   add int 1, 2.0
+   ret void
+ }






More information about the llvm-commits mailing list