Skip to content

Commit a71467b

Browse files
authored
Test bcast pass-through (#780)
1 parent dcfec76 commit a71467b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/test_bcast.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ f = MPI.bcast(f, root, comm)
6060
@test f(5) == g(5)
6161
@test f(7) == g(7)
6262

63+
f = MPI.bcast(f, comm, root=root)
64+
@test f(3) == g(3)
65+
@test f(5) == g(5)
66+
@test f(7) == g(7)
67+
6368

6469
A = Dict("foo" => "bar")
6570
if MPI.Comm_rank(comm) == root

0 commit comments

Comments
 (0)