Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / CodeGen / CBackend / 2002-08-20-UnnamedArgument.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
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
8 int %test(int) {
9         ret int 0
10 }
11