summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/134-hash-comment-directive.c
blob: 3015f0e886e261596e12cdac79e7ad3c4dde7cb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*...*/ # /*...*/ version 300
 /*...*/#/*...*/  extension whatever
 /*..*/ # /*..*/  pragma ignored
/**/    #    /**/ line 4
 /*...*/# /*...*/ ifdef NOT_DEFINED
 /*...*/# /*...*/ else
 /*..*/ #/*..*/   endif
 /*...*/# /*...*/ ifndef ALSO_NOT_DEFINED
 /*...*/# /*...*/ else
 /*..*/ #/*..*/   endif
/*...*/ # /*...*/ if 0
 /*...*/#/*...*/  elif 1
 /*..*/ # /*..*/  else
 /**/   # /**/    endif
 /*...*/# /*...*/ define FOO bar
 /*..*/ #/*..*/   define FUNC() baz
 /*..*/ # /*..*/  define FUNC2(a,b) b a
FOO
FUNC()
FUNC2(x,y)