aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/3-expressions/bstr_put_s_writes_bytes.zc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conformance/3-expressions/bstr_put_s_writes_bytes.zc')
-rw-r--r--tests/conformance/3-expressions/bstr_put_s_writes_bytes.zc7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/conformance/3-expressions/bstr_put_s_writes_bytes.zc b/tests/conformance/3-expressions/bstr_put_s_writes_bytes.zc
new file mode 100644
index 0000000..bf36611
--- /dev/null
+++ b/tests/conformance/3-expressions/bstr_put_s_writes_bytes.zc
@@ -0,0 +1,7 @@
+// expect: hi there/
+include rt;
+fn main() {
+ rt.put_s(b"hi there");
+ rt.put_c(10);
+ return 0;
+}