Tanya Lattner | f28e0ce | 2008-02-19 01:41:04 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llc -march=c |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 2 | |
| 3 | ; The C Writer bombs on this testcase because it tries the print the prototype |
| 4 | ; for the test function, which tries to print the argument name. The function |
| 5 | ; has not been incorporated into the slot calculator, so after it does the name |
| 6 | ; lookup, it tries a slot calculator lookup, which fails. |
| 7 | |
Tanya Lattner | f28e0ce | 2008-02-19 01:41:04 +0000 | [diff] [blame] | 8 | define i32 @test(i32) { |
| 9 | ret i32 0 |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 10 | } |