diff options
Diffstat (limited to 'test/test_samples')
| -rw-r--r-- | test/test_samples/test_ostream.ncpp | 2 | ||||
| -rw-r--r-- | test/test_samples/test_printf.ncpp | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/test/test_samples/test_ostream.ncpp b/test/test_samples/test_ostream.ncpp index 3caa2ab..0d0410b 100644 --- a/test/test_samples/test_ostream.ncpp +++ b/test/test_samples/test_ostream.ncpp @@ -5,5 +5,5 @@ let main() let io := 0; io := ostream{}; let arr := io.read(0, 0); - return arr[0]; + return arr; }
\ No newline at end of file diff --git a/test/test_samples/test_printf.ncpp b/test/test_samples/test_printf.ncpp new file mode 100644 index 0000000..60a6dbb --- /dev/null +++ b/test/test_samples/test_printf.ncpp @@ -0,0 +1,5 @@ +let main() +{ + let ret := 100; + return ret; +}
\ No newline at end of file |
