[llvm-commits] CVS: llvm/test/Regression/Assembler/2005-01-31-CallingAggregateFunction.ll
Chris Lattner
lattner at cs.uiuc.edu
Mon Jan 31 17:45:09 PST 2005
Changes in directory llvm/test/Regression/Assembler:
2005-01-31-CallingAggregateFunction.ll added (r1.1)
---
Log message:
This bug crashes the assembler, distilled from a testcase produced by Andrew.
---
Diffs of the changes: (+8 -0)
2005-01-31-CallingAggregateFunction.ll | 8 ++++++++
1 files changed, 8 insertions(+)
Index: llvm/test/Regression/Assembler/2005-01-31-CallingAggregateFunction.ll
diff -c /dev/null llvm/test/Regression/Assembler/2005-01-31-CallingAggregateFunction.ll:1.1
*** /dev/null Mon Jan 31 19:45:04 2005
--- llvm/test/Regression/Assembler/2005-01-31-CallingAggregateFunction.ll Mon Jan 31 19:44:54 2005
***************
*** 0 ****
--- 1,8 ----
+ ; RUN: llvm-as %s -o /dev/null 2>&1 | grep "LLVM functions cannot return aggregate types"
+
+ void %test() {
+ call {} %foo()
+ ret void
+ }
+
+ declare {} %foo()
More information about the llvm-commits
mailing list