summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/compiler/comment.typ11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/typ/compiler/comment.typ b/tests/typ/compiler/comment.typ
index fcab3352..31025de6 100644
--- a/tests/typ/compiler/comment.typ
+++ b/tests/typ/compiler/comment.typ
@@ -17,13 +17,14 @@ C/*
// End of block comment in line comment.
// Hello */
-// Nested line comment.
-/*//*/
-Still comment.
-*/
-
+// Nested "//" doesn't count as line comment.
+/* // */
E
+/*//*/
+This is a comment.
+*/*/
+
---
// End should not appear without start.
// Error: 7-9 unexpected end of block comment