diff --git a/catch/unit/deviceLib/vectorTypesDevice.cc b/catch/unit/deviceLib/vectorTypesDevice.cc index 5da42bc6bc..cc1cbdcda1 100644 --- a/catch/unit/deviceLib/vectorTypesDevice.cc +++ b/catch/unit/deviceLib/vectorTypesDevice.cc @@ -267,3 +267,7 @@ TEST_CASE("Unit_vectorTypes_CompileTest") { HIP_CHECK(hipFree(ptr)); REQUIRE(passed == true); } +//Test to check __half2_raw can be initialized without designator +TEST_CASE("Unit_half2_raw_def") { + constexpr __half2_raw inf = {0x7C00,0x7C00}; +} \ No newline at end of file