aboutsummaryrefslogtreecommitdiff
path: root/tests/errors/did_you_mean.zc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errors/did_you_mean.zc')
-rw-r--r--tests/errors/did_you_mean.zc3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/errors/did_you_mean.zc b/tests/errors/did_you_mean.zc
new file mode 100644
index 0000000..734b903
--- /dev/null
+++ b/tests/errors/did_you_mean.zc
@@ -0,0 +1,3 @@
+// expect: did you mean 'helper'?
+fn helper(x) { return x; }
+fn main() { return helpr(1); }