aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/1-source/backtick_in_literals_and_comments.zc
blob: bc21425d14561d1b60d210bcd492f03136d2f2fc (plain) (blame)
1
2
3
4
5
6
7
8
9
// expect: 96/96/1/
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
// a backtick in a line comment ` is ordinary
/* and in a block comment ` too */
fn main() {
	pn('`'); pn("`"[0]); pn(1);
	return 0;
}