v/vlib/v/tests/comptime_if_threads_yes_test.v

12 lines
112 B
V

fn abc() {
go fn () {}()
}
fn test_if_threads() {
$if threads {
assert true
} $else {
assert false
}
}