aboutsummaryrefslogtreecommitdiff
path: root/tests/langerrors/o3_param.zc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/langerrors/o3_param.zc')
-rw-r--r--tests/langerrors/o3_param.zc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/langerrors/o3_param.zc b/tests/langerrors/o3_param.zc
index 5694720..84cb6c2 100644
--- a/tests/langerrors/o3_param.zc
+++ b/tests/langerrors/o3_param.zc
@@ -1,3 +1,5 @@
+namespace;
+
// expect: o3 parameters need a type
o3 int f(x) { return x; }
fn main() { return f(1); }