1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/CodeGen/CBackend/2002-08-20-UnnamedArgument.ll

11 lines
367 B
LLVM
Raw Normal View History

; RUN: llc < %s -march=c
2004-11-06 22:40:51 +01:00
2002-08-20 18:01:23 +02:00
; The C Writer bombs on this testcase because it tries the print the prototype
; for the test function, which tries to print the argument name. The function
; has not been incorporated into the slot calculator, so after it does the name
; lookup, it tries a slot calculator lookup, which fails.
define i32 @test(i32) {
ret i32 0
2002-08-20 18:01:23 +02:00
}