summaryrefslogtreecommitdiff
path: root/test/struct1.myr
diff options
context:
space:
mode:
authorOri Bernstein <orib@google.com>2013-01-16 15:46:24 -0500
committerOri Bernstein <orib@google.com>2013-01-16 15:46:24 -0500
commitee1ff4a67de96a70863048b6731538ec6caf2893 (patch)
tree70a7e54220da0b9e71e63afc0108a00c0db7b58c /test/struct1.myr
parent8ccabec2426cf747482bbc8fcf5f5a62a0cd26ec (diff)
downloadmc-ee1ff4a67de96a70863048b6731538ec6caf2893.tar.gz
Comment the purpose of the tests.
Each test now gets a comment describing what it actually checks, and what it exits with.
Diffstat (limited to 'test/struct1.myr')
-rw-r--r--test/struct1.myr3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/struct1.myr b/test/struct1.myr
index ed1d128..ae26ebd 100644
--- a/test/struct1.myr
+++ b/test/struct1.myr
@@ -1,3 +1,6 @@
+/*
+make sure assigning to a 1-element struct works; exit status should be 12
+*/
type val = struct
a : int
;;