v2 / vlib / v / parser / tests / interop_func_body_err.out
3 lines · 3 sloc · 160 bytes · 6dbc6f233ba0974468e9afa330768e01b7fdae69
Raw
1vlib/v/parser/tests/interop_func_body_err.vv:1:23: error: interop functions cannot have a body
2 1 | fn C.printf(s string) {}
3 | ^
4