summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glcpp/tests/106-multiline-hash-if.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/glcpp/tests/106-multiline-hash-if.c')
-rw-r--r--src/compiler/glsl/glcpp/tests/106-multiline-hash-if.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/glsl/glcpp/tests/106-multiline-hash-if.c b/src/compiler/glsl/glcpp/tests/106-multiline-hash-if.c
new file mode 100644
index 00000000000..929e93e782f
--- /dev/null
+++ b/src/compiler/glsl/glcpp/tests/106-multiline-hash-if.c
@@ -0,0 +1,6 @@
+#define X(x) x
+#if X( \
+ 1 \
+ )
+int foo();
+#endif