New testcase, make sure nate doesn't vanish
[oota-llvm.git] / test / ExecutionEngine / test-logical.ll
1 ; RUN: llvm-as -f %s -o %t.bc
2 ; RUN: lli %t.bc > /dev/null
3
4
5 int %main() {
6         %A = and sbyte 4, 8
7         %B = or sbyte %A, 7
8         %C = xor sbyte %B, %A
9
10         %A = and short 4, 8
11         %B = or short %A, 7
12         %C = xor short %B, %A
13
14         %A = and int 4, 8
15         %B = or int %A, 7
16         %C = xor int %B, %A
17
18         %A = and long 4, 8
19         %B = or long %A, 7
20         %C = xor long %B, %A
21
22         ret int 0
23 }