summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glcpp/tests/051-if-relational.c
blob: c3db488e0de73690eb7bb91dce668bd916feb718 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#if 3 < 2
failure_1
#else
success_1
#endif

#if 3 >= 2
success_2
#else
failure_2
#endif

#if 2 + 3 <= 5
success_3
#else
failure_3
#endif

#if 3 - 2 == 1
success_3
#else
failure_3
#endif

#if 1 > 3
failure_4
#else
success_4
#endif

#if 1 != 5
success_5
#else
failure_5
#endif