aboutsummaryrefslogtreecommitdiff
path: root/docs/history/13-gap-fixes/code/tests/manyerrors.zc
blob: 7c9febf153fe605dbf71ec7140a0fe9f8d4c7938 (plain) (blame)
1
2
3
4
5
6
// several errors in one run: a syntax error, an analyzer error, a type error
typecheck on;
fn f() { let a = ; return 0; }
fn g() { let x = new(3); return 0; }
fn h() -> int { *char s = 5; return 1; }
fn main() { return 0 }