Added the ability to xfail based on llvmgcc version
[oota-llvm.git] / test / Transforms / TailCallElim / return-undef.ll
1 ; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | grep sub &&
2 ; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | not grep call
3
4 int %test(int %X) {
5         %Y = sub int %X, 1
6         %Z = call int %test(int %Y)
7         ret int undef
8 }