diff --git a/tests/header/header_test.cpp b/tests/header/header_test.cpp index 1b4bb9c5a..591dbf7d7 100644 --- a/tests/header/header_test.cpp +++ b/tests/header/header_test.cpp @@ -45,7 +45,8 @@ class TEST_NAME : public util::test_base { #define TEST_FAIL log.note("SYCL_LANGUAGE_VERSION not present"); #else - log.note("SYCL_LANGUAGE_VERSION = %d", static_cast(SYCL_LANGUAGE_VERSION)); + static_assert(std::is_same_v); + static_assert(SYCL_LANGUAGE_VERSION == 202012L); #endif /** checks that __FAST_RELAXED_MATH__ is defined