summaryrefslogtreecommitdiff
path: root/src/glsl/glcpp/tests/136-plus-plus-and-minus-minus.c
blob: 167d3c8a3cfd2c34cf674ebc96e98c8735b5ebad (plain)
1
2
3
4
5
6
7
8
/* The body can include C expressions with ++ and -- */
a = x++;
b = ++x;
c = x--;
d = --x;
/* But these are not legal in preprocessor expressions. */
#if x++ > 4
#endif