summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/137-expand-macro-after-period.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glcpp/tests/137-expand-macro-after-period.c')
-rw-r--r--src/glsl/glcpp/tests/137-expand-macro-after-period.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/137-expand-macro-after-period.c b/src/glsl/glcpp/tests/137-expand-macro-after-period.c
new file mode 100644
index 00000000000..c8cd47fb57e
--- /dev/null
+++ b/src/glsl/glcpp/tests/137-expand-macro-after-period.c
@@ -0,0 +1,4 @@
+#define FIELD(x) foo.x
+#define FIELD_OF(s, x) s.x
+FIELD(bar)
+FIELD_OF(foo, bar)