summaryrefslogtreecommitdiff
path: root/tests/spec/glsl-1.10/compiler/preprocessor/stringification.frag
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/glsl-1.10/compiler/preprocessor/stringification.frag')
-rw-r--r--tests/spec/glsl-1.10/compiler/preprocessor/stringification.frag10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/spec/glsl-1.10/compiler/preprocessor/stringification.frag b/tests/spec/glsl-1.10/compiler/preprocessor/stringification.frag
new file mode 100644
index 000000000..617ad102d
--- /dev/null
+++ b/tests/spec/glsl-1.10/compiler/preprocessor/stringification.frag
@@ -0,0 +1,10 @@
+// [config]
+// expect_result: fail
+// glsl_version: 1.10
+// [end config]
+
+#version 110
+
+#define VEC4_STRING_PARAM(a, b, c, d) vec4(#a, #b, c, d)
+
+void main() { }