diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_samples/test_ostream.ncpp | 4 | ||||
| -rw-r--r-- | test/test_samples/test_struct.ncpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/test_samples/test_ostream.ncpp b/test/test_samples/test_ostream.ncpp index afed25d..3caa2ab 100644 --- a/test/test_samples/test_ostream.ncpp +++ b/test/test_samples/test_ostream.ncpp @@ -2,8 +2,8 @@ let main() { - let io := {}; - io := ostream(); + let io := 0; + io := ostream{}; let arr := io.read(0, 0); return arr[0]; }
\ No newline at end of file diff --git a/test/test_samples/test_struct.ncpp b/test/test_samples/test_struct.ncpp index 5006a01..c725b64 100644 --- a/test/test_samples/test_struct.ncpp +++ b/test/test_samples/test_struct.ncpp @@ -1,6 +1,6 @@ impl foo { - foo() + let init() { return; } @@ -14,7 +14,7 @@ impl foo let construct_foo() { let io := new; - io := foo(); + io := foo{}; return io; } |
