summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-05-08 20:22:21 -0700
committerOri Bernstein <ori@eigenstate.org>2015-05-08 20:22:21 -0700
commit927294f0ffc7029440111a48200aa2d476545650 (patch)
tree5be5286364828f7ae0fef88437aa941db39d45e9 /test
parent1cb86ecfd69335631474bea4bb8a102e4559408a (diff)
downloadmc-927294f0ffc7029440111a48200aa2d476545650.tar.gz
Use before def checking is closer to working.
Reduce spurious errors.
Diffstat (limited to 'test')
-rw-r--r--test/derefassign.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/derefassign.myr b/test/derefassign.myr
index 5a06335..18fb726 100644
--- a/test/derefassign.myr
+++ b/test/derefassign.myr
@@ -4,6 +4,7 @@ const main = {
var p
var v
+ v = 0
p = &v
p# = 123
std.exit(v)