diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-04-24 10:19:03 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-04-24 10:19:03 -0700 |
commit | 88be3dbc0c996490dbac97538f4d712a5b4f6f07 (patch) | |
tree | dbba8f597d3090bb71553544ba28c59644973b3b /cpp/034exclusive_container | |
parent | e351d6fd04d95068fac4402dc103e0752182fa8d (diff) | |
download | mu-88be3dbc0c996490dbac97538f4d712a5b4f6f07.tar.gz |
1162
Diffstat (limited to 'cpp/034exclusive_container')
-rw-r--r-- | cpp/034exclusive_container | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/034exclusive_container b/cpp/034exclusive_container index b7d08c12..d9f266c0 100644 --- a/cpp/034exclusive_container +++ b/cpp/034exclusive_container @@ -25,7 +25,7 @@ Type[tmp].element_names.push_back("i"); Type[tmp].element_names.push_back("p"); } -:(scenario "copy_exclusive_container") +:(scenario copy_exclusive_container) # Copying exclusive containers copies all their contents and an extra location for the tag. recipe main [ 1:integer <- copy 1:literal # 'point' variant @@ -64,7 +64,7 @@ if (t.kind == exclusive_container) { :(before "End Mu Types Initialization") Type_number["variant"] = 0; -:(scenario "maybe_convert") +:(scenario maybe_convert) recipe main [ 12:integer <- copy 1:literal 13:integer <- copy 35:literal @@ -73,7 +73,7 @@ recipe main [ ] +mem: storing 13 in location 20 -:(scenario "maybe_convert_fail") +:(scenario maybe_convert_fail) recipe main [ 12:integer <- copy 1:literal 13:integer <- copy 35:literal |