diff options
Diffstat (limited to 'tests/programs/typeoff.zc')
| -rw-r--r-- | tests/programs/typeoff.zc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/programs/typeoff.zc b/tests/programs/typeoff.zc index d82bca8..aa71bea 100644 --- a/tests/programs/typeoff.zc +++ b/tests/programs/typeoff.zc @@ -1,2 +1,5 @@ +namespace; +include rt; + // the typechecker is off unless asked for: this mismatch compiles and runs -fn main() { char* s = 5; put_n(s as int + 1); put_c(10); return 0; } +fn main() { char* s = 5; rt.put_n(s as int + 1); rt.put_c(10); return 0; } |
