summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glcpp/tests/012-define-func-no-args.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/glcpp/tests/012-define-func-no-args.c')
-rw-r--r--src/compiler/glsl/glcpp/tests/012-define-func-no-args.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/glsl/glcpp/tests/012-define-func-no-args.c b/src/compiler/glsl/glcpp/tests/012-define-func-no-args.c
new file mode 100644
index 00000000000..c2bb730b115
--- /dev/null
+++ b/src/compiler/glsl/glcpp/tests/012-define-func-no-args.c
@@ -0,0 +1,2 @@
+#define foo() bar
+foo()