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