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