aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/1-source/comment_line.zc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conformance/1-source/comment_line.zc')
-rw-r--r--tests/conformance/1-source/comment_line.zc8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/conformance/1-source/comment_line.zc b/tests/conformance/1-source/comment_line.zc
new file mode 100644
index 0000000..7fd68f0
--- /dev/null
+++ b/tests/conformance/1-source/comment_line.zc
@@ -0,0 +1,8 @@
+// expect: 1/
+include rt;
+fn main() {
+ // rt.put_n(9); /* not a block start
+ rt.put_n(1); // trailing comment
+ rt.put_c(10);
+ return 0;
+}