diff --git a/tests/sycl_external/sycl_external_separate_unit.cpp b/tests/sycl_external/sycl_external_separate_unit.cpp index f667cbd43..7878c74ac 100644 --- a/tests/sycl_external/sycl_external_separate_unit.cpp +++ b/tests/sycl_external/sycl_external_separate_unit.cpp @@ -72,8 +72,8 @@ SYCL_EXTERNAL void before_aspect_host( } template -[[sycl::device_has(aspect)]] SYCL_EXTERNAL [[noreturn]] void -between_aspects_device(const accT& acc); +[[sycl::device_has(aspect)]] SYCL_EXTERNAL void between_aspects_device( + const accT& acc); template <> SYCL_EXTERNAL void between_aspects_device(const accT& acc) { acc[0] = value; @@ -88,8 +88,8 @@ SYCL_EXTERNAL void between_aspects_device( acc[0] = value; } template -[[sycl::device_has(aspect)]] SYCL_EXTERNAL [[noreturn]] void -between_aspects_host(hostAccT& acc); +[[sycl::device_has(aspect)]] SYCL_EXTERNAL void between_aspects_host( + hostAccT& acc); template <> SYCL_EXTERNAL void between_aspects_host(hostAccT& acc) { acc[0] = value;