summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/116-disable-line-continuations.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glcpp/tests/116-disable-line-continuations.c')
-rw-r--r--src/glsl/glcpp/tests/116-disable-line-continuations.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/116-disable-line-continuations.c b/src/glsl/glcpp/tests/116-disable-line-continuations.c
new file mode 100644
index 00000000000..83d5ddf681b
--- /dev/null
+++ b/src/glsl/glcpp/tests/116-disable-line-continuations.c
@@ -0,0 +1,13 @@
+// glcpp-args: --disable-line-continuations
+
+// This comments ends with a backslash \\
+#define NO_CONTINUATION
+
+#ifdef NO_CONTINUATION
+success
+#else
+failure
+#endif
+
+
+