diff options
Diffstat (limited to 'v_windows/v/vlib/v/fmt/tests/blocks_input.vv')
-rw-r--r-- | v_windows/v/vlib/v/fmt/tests/blocks_input.vv | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/v_windows/v/vlib/v/fmt/tests/blocks_input.vv b/v_windows/v/vlib/v/fmt/tests/blocks_input.vv new file mode 100644 index 0000000..6efacaa --- /dev/null +++ b/v_windows/v/vlib/v/fmt/tests/blocks_input.vv @@ -0,0 +1,7 @@ +fn unsafe_fn() { +unsafe { _ = malloc(2) } +} + +fn fn_with_defer() { +defer { voidfn() } +} |