aboutsummaryrefslogtreecommitdiff
path: root/docs/history/15-o3/code/tests/manyerrors.zc
blob: f4c0c68454e18cc2418d5b62085dfd2f92e521c4 (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; }
int h() { *char s = 5; return 1; }
fn main() { return 0 }