aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/9-appendix-b/b2_11_unterminated_comment.zc
blob: ce4b236cc2d8f6c9e3bee42c8f3b74be4440494b (plain) (blame)
1
2
3
4
5
6
7
// expect error: unterminated comment
// spec appendix b.2.11: an unterminated /* is accepted silently
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() { pn(1); return 0; }
/* never closed
// zc0: skip