summaryrefslogtreecommitdiff
path: root/src/glsl/glcpp/tests/037-finalize-unexpanded-macro.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glcpp/tests/037-finalize-unexpanded-macro.c')
-rw-r--r--src/glsl/glcpp/tests/037-finalize-unexpanded-macro.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/037-finalize-unexpanded-macro.c b/src/glsl/glcpp/tests/037-finalize-unexpanded-macro.c
new file mode 100644
index 0000000000..b3a2f37f1b
--- /dev/null
+++ b/src/glsl/glcpp/tests/037-finalize-unexpanded-macro.c
@@ -0,0 +1,3 @@
+#define expand(x) expand(x once)
+#define foo(x) x
+foo(expand(just))