summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/101-macros-used-twice.c
blob: e1693805b6a9a57996e30ea9ece966a6ca5f3dd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#define object 1
#define function(x) 1

#if object
once
#endif
#if object
twice
#endif

#if function(0)
once
#endif
#if function(0)
once again
#endif