diff --git a/tests/unit/objgroup/test_objgroup.cc b/tests/unit/objgroup/test_objgroup.cc index 330203ce04..c372445b73 100644 --- a/tests/unit/objgroup/test_objgroup.cc +++ b/tests/unit/objgroup/test_objgroup.cc @@ -271,4 +271,13 @@ TEST_F(TestObjGroup, test_proxy_reduce) { } } +TEST_F(TestObjGroup, test_proxy_invoke) { + auto const& this_node = theContext()->getNode(); + + auto proxy = vt::theObjGroup()->makeCollective(); + proxy[this_node].invoke(); + + EXPECT_EQ(proxy.get()->recv_, -1); +} + }}} // end namespace vt::tests::unit