MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCL-CLHPP / testMoveConstructDeviceNull

Function testMoveConstructDeviceNull

tests/test_openclhpp.cpp:1248–1256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1246}
1247
1248void testMoveConstructDeviceNull(void)
1249{
1250#ifdef TEST_RVALUE_REFERENCES
1251 cl::Device empty;
1252 cl::Device trg(std::move(empty));
1253 TEST_ASSERT_NULL(trg());
1254 TEST_ASSERT_NULL(empty());
1255#endif
1256}
1257
1258void testDestroyDevice1_1(void)
1259{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected