diff options
Diffstat (limited to 'tests/typ/comments.typ')
| -rw-r--r-- | tests/typ/comments.typ | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/typ/comments.typ b/tests/typ/comments.typ new file mode 100644 index 00000000..0dfb4b8e --- /dev/null +++ b/tests/typ/comments.typ @@ -0,0 +1,23 @@ +// Test interaction with words, spacing and expressions. + +A// you +B + +C/* + /* */ +*/D + +[dump /*1*/ a: "b" // +, 1] + +--- +// Test error. +// +// ref: false +// error: 3:7-3:9 unexpected end of block comment + +// No start of block comment. +/* */ */ + +// Unterminated block comment is okay. +/* |
