summaryrefslogtreecommitdiff
path: root/test/align.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-07-09 21:57:07 -0400
committerOri Bernstein <ori@eigenstate.org>2014-07-09 21:57:07 -0400
commite002242442a548429f014ec3a5c30f1d40799a7a (patch)
tree8b94add5dc476fede0e4345646b23aba8317a263 /test/align.myr
parent73d297264fae92c1e716f05e5f42496fad95dd37 (diff)
downloadmc-e002242442a548429f014ec3a5c30f1d40799a7a.tar.gz
Change syntax for tuples.
Diffstat (limited to 'test/align.myr')
-rw-r--r--test/align.myr6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/align.myr b/test/align.myr
index d1c976f..06555df 100644
--- a/test/align.myr
+++ b/test/align.myr
@@ -62,9 +62,9 @@ const main = {
std.put("size = %i\n", sizeof(alignstruct6))
std.put("size = %i\n", sizeof(alignstruct7))
/* size should be 8 */
- std.put("size = %i\n", sizeof([int, byte, byte]))
+ std.put("size = %i\n", sizeof((int, byte, byte)))
/* size should be 16 */
- std.put("size = %i\n", sizeof([int, byte, int, byte]))
+ std.put("size = %i\n", sizeof((int, byte, int, byte)))
/* size should be 12 */
- std.put("size = %i\n", sizeof([int, int, byte, byte]))
+ std.put("size = %i\n", sizeof((int, int, byte, byte)))
}