summaryrefslogtreecommitdiffstats
path: root/pattern/not-constant.cmm
diff options
context:
space:
mode:
Diffstat (limited to 'pattern/not-constant.cmm')
-rw-r--r--pattern/not-constant.cmm10
1 files changed, 10 insertions, 0 deletions
diff --git a/pattern/not-constant.cmm b/pattern/not-constant.cmm
new file mode 100644
index 0000000..2726d34
--- /dev/null
+++ b/pattern/not-constant.cmm
@@ -0,0 +1,10 @@
+int func(void) {
+ return 4;
+}
+
+typedef int tp[func() + 5];
+float gv[4 - func()];
+
+int main(void) {
+ return 0;
+}