summaryrefslogtreecommitdiff
path: root/test/flow.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2012-06-11 01:04:39 -0400
committerOri Bernstein <ori@eigenstate.org>2012-06-11 01:04:39 -0400
commit6497ac18c2db4fb60489a0b0fd9c2c035c75c343 (patch)
tree418a27830e62ea41bf5be94befbc6c9c6530b55d /test/flow.myr
parent9e087145195fb50d06a87732399aebda067a3d42 (diff)
downloadmc-6497ac18c2db4fb60489a0b0fd9c2c035c75c343.tar.gz
Add simple test for dataflow analysis
We want the compilation of this thing to fail.
Diffstat (limited to 'test/flow.myr')
-rw-r--r--test/flow.myr4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/flow.myr b/test/flow.myr
new file mode 100644
index 0000000..06ec691
--- /dev/null
+++ b/test/flow.myr
@@ -0,0 +1,4 @@
+const main = {
+ var a : int
+ -> a
+}