aboutsummaryrefslogtreecommitdiff
path: root/tests/langerrors/o3_let.zc
blob: 2afa9524f2f1043f41777112d24c7137cfb9a511 (plain) (blame)
1
2
3
4
namespace;

// expect: o3 variables need a type
fn main() { o3 { let x = 1; x++; } return 0; }