Reid Spencer | 69ccadd | 2006-12-02 04:23:10 +0000 | [diff] [blame] | 1 | ; RUN: llvm-upgrade < %s | llvm-as | llc -march=c |
Tanya Lattner | cd0aa81 | 2004-11-06 21:40:51 +0000 | [diff] [blame] | 2 | |
Chris Lattner | afadc96 | 2002-08-20 16:01:23 +0000 | [diff] [blame] | 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 | |
| 8 | int %test(int) { |
| 9 | ret int 0 |
| 10 | } |
| 11 | |