summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/128-space-before-hash.c
blob: fba9596baf8654112c9061b1d170597dd7e3e2b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 /* Any directive can be preceded by a space. */
 #version 300
 #pragma Testing spaces before hash
 #
 #line 3
 #define FOO
 #ifdef FOO
 yes
 #endif
 #if 0
 #elif defined FOO
 yes again
 #endif
 #if 0
 #else
 for the third time, yes!
 #endif
 #undef FOO
 #ifndef FOO
 yes, of course
 #endif