diff options
Diffstat (limited to 'v_windows/v/vlib/v/tests/comptime_if_threads_no_test.v')
| -rw-r--r-- | v_windows/v/vlib/v/tests/comptime_if_threads_no_test.v | 11 | 
1 files changed, 11 insertions, 0 deletions
| diff --git a/v_windows/v/vlib/v/tests/comptime_if_threads_no_test.v b/v_windows/v/vlib/v/tests/comptime_if_threads_no_test.v new file mode 100644 index 0000000..60d9cc9 --- /dev/null +++ b/v_windows/v/vlib/v/tests/comptime_if_threads_no_test.v @@ -0,0 +1,11 @@ +fn abc() { +	// go fn() {}() +} + +fn test_if_threads() { +	$if threads { +		assert false +	} $else { +		assert true +	} +} | 
