xref: /third_party/mesa3d/src/compiler/glsl/glcpp/tests/128-space-before-hash.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/mesa3d/src/compiler/glsl/glcpp/tests/
1bf215546Sopenharmony_ci /* Any directive can be preceded by a space. */
2bf215546Sopenharmony_ci #version 300
3bf215546Sopenharmony_ci #pragma Testing spaces before hash
4bf215546Sopenharmony_ci #
5bf215546Sopenharmony_ci #line 3
6bf215546Sopenharmony_ci #define FOO
7bf215546Sopenharmony_ci #ifdef FOO
8bf215546Sopenharmony_ci yes
9bf215546Sopenharmony_ci #endif
10bf215546Sopenharmony_ci #if 0
11bf215546Sopenharmony_ci #elif defined FOO
12bf215546Sopenharmony_ci yes again
13bf215546Sopenharmony_ci #endif
14bf215546Sopenharmony_ci #if 0
15bf215546Sopenharmony_ci #else
16bf215546Sopenharmony_ci for the third time, yes!
17bf215546Sopenharmony_ci #endif
18bf215546Sopenharmony_ci #undef FOO
19bf215546Sopenharmony_ci #ifndef FOO
20bf215546Sopenharmony_ci yes, of course
21bf215546Sopenharmony_ci #endif
22

Indexes created Thu Nov 07 10:32:03 CST 2024