summaryrefslogtreecommitdiffstats
path: root/pattern/void-var-and-array.cmm
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2015-12-11 15:51:56 +0800
committerTing-Wei Lan <lantw44@gmail.com>2015-12-11 15:51:56 +0800
commitbf56cb34ff8028610877cf7bc5f7a186ce701b79 (patch)
tree8bc3727c9b09869bbb1ed4a21ea5709f4a17cb50 /pattern/void-var-and-array.cmm
parent6a1784f1c85514c8b5ac529f8db7aed89a461291 (diff)
downloadcompiler2015-bf56cb34ff8028610877cf7bc5f7a186ce701b79.tar
compiler2015-bf56cb34ff8028610877cf7bc5f7a186ce701b79.tar.gz
compiler2015-bf56cb34ff8028610877cf7bc5f7a186ce701b79.tar.bz2
compiler2015-bf56cb34ff8028610877cf7bc5f7a186ce701b79.tar.lz
compiler2015-bf56cb34ff8028610877cf7bc5f7a186ce701b79.tar.xz
compiler2015-bf56cb34ff8028610877cf7bc5f7a186ce701b79.tar.zst
compiler2015-bf56cb34ff8028610877cf7bc5f7a186ce701b79.zip
Add some testcases
Diffstat (limited to 'pattern/void-var-and-array.cmm')
-rw-r--r--pattern/void-var-and-array.cmm6
1 files changed, 6 insertions, 0 deletions
diff --git a/pattern/void-var-and-array.cmm b/pattern/void-var-and-array.cmm
new file mode 100644
index 0000000..7b6368a
--- /dev/null
+++ b/pattern/void-var-and-array.cmm
@@ -0,0 +1,6 @@
+typedef void vtype;
+vtype vvar;
+vtype varr[10];
+int main(void) {
+ return 0;
+}