aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/1-source/comment_block_spans_lines_with_quote.zc
blob: 9ffb42d0d08fcb49ff6d0e80c520be875cd7b4cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// expect: 1/
// spec 1.2.2: a quote inside a comment is not a literal
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() {
	/* "unterminated
	' also */
	pn(1);
	return 0;
}