[llvm-commits] CVS: llvm/test/Regression/Verifier/2006-10-15-AddrLabel.ll
Chris Lattner
sabre at nondot.org
Sun Oct 15 16:26:42 PDT 2006
Changes in directory llvm/test/Regression/Verifier:
2006-10-15-AddrLabel.ll added (r1.1)
---
Log message:
testcase that causes the asmparser to assert
---
Diffs of the changes: (+9 -0)
2006-10-15-AddrLabel.ll | 9 +++++++++
1 files changed, 9 insertions(+)
Index: llvm/test/Regression/Verifier/2006-10-15-AddrLabel.ll
diff -c /dev/null llvm/test/Regression/Verifier/2006-10-15-AddrLabel.ll:1.1
*** /dev/null Sun Oct 15 18:26:38 2006
--- llvm/test/Regression/Verifier/2006-10-15-AddrLabel.ll Sun Oct 15 18:26:28 2006
***************
*** 0 ****
--- 1,9 ----
+ ; RUN: not llvm-as %s -o /dev/null -f &&
+ ; RUN: llvm-as %s -o /dev/null -f 2>&1 | grep 'Cannot form'
+
+ int %main() {
+ %foo = call sbyte* %llvm.stacksave()
+ %foop = cast sbyte* %foo to label*
+ %nret = load label* %foop
+ br label %nret;
+ }
More information about the llvm-commits
mailing list