diff options
author | Matt Turner <[email protected]> | 2012-11-06 16:24:32 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2012-11-09 14:33:08 -0800 |
commit | 68414bc8682549daa60482d5b9a2142f2796b39d (patch) | |
tree | dae34cd391b69b6aa9b1009f763580347e5e6925 /src/glsl/glcpp/tests/107-multiline-hash-elif.c | |
parent | 28e397660cc7b898be216c0ba16e9b94560406cd (diff) |
glcpp/tests: Add tests for multiline #elif
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/glcpp/tests/107-multiline-hash-elif.c')
-rw-r--r-- | src/glsl/glcpp/tests/107-multiline-hash-elif.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/107-multiline-hash-elif.c b/src/glsl/glcpp/tests/107-multiline-hash-elif.c new file mode 100644 index 00000000000..8c1c67a4d6b --- /dev/null +++ b/src/glsl/glcpp/tests/107-multiline-hash-elif.c @@ -0,0 +1,7 @@ +#define X(x) x +#if 0 +#elif X( \ + 1 \ + ) +int foo(); +#endif |