blob: 385a49917c44571e41dd66c1b991c8679861c51d [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f
2
3
4int %test(bool %C, int %V1, int %V2) {
5 %X = select bool true, bool false, bool true
6 %V = select bool %X, int %V1, int %V2
7 ret int %V
8}