Another testcase

llvm-svn: 12802
This commit is contained in:
Chris Lattner 2004-04-09 23:47:52 +00:00
parent 24cd6b9371
commit e4ad3e599b
1 changed files with 8 additions and 0 deletions

View File

@ -116,3 +116,11 @@ ubyte %test18(ubyte %A) {
%C = add ubyte %B, 17 ; == sub ubyte 16, %A %C = add ubyte %B, 17 ; == sub ubyte 16, %A
ret ubyte %C ret ubyte %C
} }
int %test19(bool %C) {
%A = select bool %C, int 1000, int 10
%V = add int %A, 123
ret int %V
}