blob: ccffe688992ca6ef60a3d817fedc95500b756746 [file] [log] [blame]
Tanya Lattner53a66d12008-02-19 01:41:04 +00001; RUN: llvm-as < %s | llc -march=c
Tanya Lattnercd0aa812004-11-06 21:40:51 +00002
Chris Lattnerafadc962002-08-20 16:01:23 +00003; 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 Lattner53a66d12008-02-19 01:41:04 +00008define i32 @test(i32) {
9 ret i32 0
Chris Lattnerafadc962002-08-20 16:01:23 +000010}