diff options
Diffstat (limited to 'tests/conformance/8-runtime/put_s_word_string.zc')
| -rw-r--r-- | tests/conformance/8-runtime/put_s_word_string.zc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/conformance/8-runtime/put_s_word_string.zc b/tests/conformance/8-runtime/put_s_word_string.zc new file mode 100644 index 0000000..b8517c2 --- /dev/null +++ b/tests/conformance/8-runtime/put_s_word_string.zc @@ -0,0 +1,5 @@ +// expect: hey/ +// spec 8.3 +include rt; +void pn(int x) { rt.put_n(x); rt.put_c(10); } +fn main() { rt.put_s("hey"); rt.put_c(10); return 0; } |
