diff options
Diffstat (limited to '047check_type_by_name.cc')
-rw-r--r-- | 047check_type_by_name.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/047check_type_by_name.cc b/047check_type_by_name.cc index 5bc42880..44fc8ddb 100644 --- a/047check_type_by_name.cc +++ b/047check_type_by_name.cc @@ -101,10 +101,10 @@ def main [ :(scenario typo_in_address_type_fails) % Hide_errors = true; def main [ - y:address:charcter <- new character:type + y:&:charcter <- new character:type *y <- copy 67 ] -+error: main: unknown type charcter in 'y:address:charcter <- new character:type' ++error: main: unknown type charcter in 'y:&:charcter <- new character:type' :(scenario array_type_without_size_fails) % Hide_errors = true; @@ -119,7 +119,7 @@ def foo [ # dummy ] def main [ local-scope - 0:address:array:location/names:foo <- copy 0 # specify surrounding space + 0:&:array:location/names:foo <- copy 0 # specify surrounding space x:bool <- copy 1/true x:num/space:1 <- copy 34 x/space:1 <- copy 35 |