aboutsummaryrefslogtreecommitdiff
path: root/tests/langerrors/o3_param.zc
blob: 84cb6c2ef91a18af8f4202b2c3e9a7e9a3532f66 (plain) (blame)
1
2
3
4
5
namespace;

// expect: o3 parameters need a type
o3 int f(x) { return x; }
fn main() { return f(1); }