mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
glcpp/tests: Add test for multiline #if
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
b44423cf75
commit
28e397660c
2 changed files with 13 additions and 0 deletions
6
src/glsl/glcpp/tests/106-multiline-hash-if.c
Normal file
6
src/glsl/glcpp/tests/106-multiline-hash-if.c
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#define X(x) x
|
||||
#if X( \
|
||||
1 \
|
||||
)
|
||||
int foo();
|
||||
#endif
|
||||
7
src/glsl/glcpp/tests/106-multiline-hash-if.c.expected
Normal file
7
src/glsl/glcpp/tests/106-multiline-hash-if.c.expected
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
int foo();
|
||||
|
||||
|
||||
Loading…
Add table
Reference in a new issue