aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/9-appendix-b/b2_11_unterminated_comment.zc
blob: e6e6bbf75406e52acb4a224d9c7426400bf97e63 (plain) (blame)
1
2
3
4
5
6
7
// expect error: unterminated
// 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