summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glcpp/tests/065-if-defined-parens.c
blob: 48aa0f8c3effd58e56e5e942706b3f9c83202b7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#if defined(foo)
failure_1
#else
success_1
#endif
#define foo
#if defined ( foo )
success_2
#else
failure_2
#endif
#undef foo
#if defined (foo)
failure_3
#else
success_3
#endif