aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/vlib/v/checker/tests/fn_call_no_body.out
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/vlib/v/checker/tests/fn_call_no_body.out')
-rw-r--r--v_windows/v/vlib/v/checker/tests/fn_call_no_body.out13
1 files changed, 13 insertions, 0 deletions
diff --git a/v_windows/v/vlib/v/checker/tests/fn_call_no_body.out b/v_windows/v/vlib/v/checker/tests/fn_call_no_body.out
new file mode 100644
index 0000000..376fc56
--- /dev/null
+++ b/v_windows/v/vlib/v/checker/tests/fn_call_no_body.out
@@ -0,0 +1,13 @@
+vlib/v/checker/tests/fn_call_no_body.vv:7:9: error: cannot call a method that does not have a body
+ 5 |
+ 6 | fn main() {
+ 7 | Foo(0).f()
+ | ~~~
+ 8 | f()
+ 9 | }
+vlib/v/checker/tests/fn_call_no_body.vv:8:2: error: cannot call a function that does not have a body
+ 6 | fn main() {
+ 7 | Foo(0).f()
+ 8 | f()
+ | ~~~
+ 9 | }