| 36 | }; |
| 37 | |
| 38 | TEST(FunctionRefTests, FreeFunction) |
| 39 | { |
| 40 | brstd::function_ref<int(int)> ref(free_function); |
| 41 | EXPECT_EQ(ref(3), 6); |
| 42 | } |
| 43 | |
| 44 | TEST(FunctionRefTests, Functor) |
| 45 | { |
nothing calls this directly
no outgoing calls
no test coverage detected