aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/9-appendix-b/b2_10_recovery_hides_errors.zc
blob: d770fcde11aea111cd4cd909edc1b3d846fffcd4 (plain) (blame)
1
2
3
4
5
6
// expect error: zc: 2 errors
// spec appendix b.2.10 and 8.2: by design only the first error is reported
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() { int a = ; int b = 3 +; return 0; }
// zc0: skip