summaryrefslogtreecommitdiff
path: root/test/declmismatch.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2012-06-07 19:19:03 -0400
committerOri Bernstein <ori@eigenstate.org>2012-06-07 19:19:03 -0400
commitddf0bd7ed1851d8c06ed327dd3b20b9895d0b0dd (patch)
tree51960fdf7ebc557ebf35f425ca93f92d52b8a9af /test/declmismatch.myr
parent2a8595163b7e03ff1faa1df4cf470b8cfd8dcc27 (diff)
downloadmc-ddf0bd7ed1851d8c06ed327dd3b20b9895d0b0dd.tar.gz
Add testcases.
Diffstat (limited to 'test/declmismatch.myr')
-rw-r--r--test/declmismatch.myr6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/declmismatch.myr b/test/declmismatch.myr
new file mode 100644
index 0000000..29a4df5
--- /dev/null
+++ b/test/declmismatch.myr
@@ -0,0 +1,6 @@
+const main = {
+ var a : int
+ var b : char
+
+ a = b
+}