summaryrefslogtreecommitdiff
path: root/src/glsl/glcpp/tests/052-if-bitwise.c
blob: 2d8e45eb61efa0ee182975f8698392f50e6982ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#if (0xaaaaaaaa | 0x55555555) != 4294967295
failure_1
#else
success_1
#endif
#if (0x12345678 ^ 0xfdecba98) == 4023971040
success_2
#else
failure_2
#endif
#if (~ 0xdeadbeef) != -3735928560
failure_3
#else
success_3
#endif
#if (0667 & 0733) == 403
success_4
#else
failure_4
#endif