diff --git a/sycl/test/extensions/properties/properties_ctor_negative.cpp b/sycl/test/extensions/properties/properties_ctor_negative.cpp index 647b283f277de..5677b305acd63 100644 --- a/sycl/test/extensions/properties/properties_ctor_negative.cpp +++ b/sycl/test/extensions/properties/properties_ctor_negative.cpp @@ -6,10 +6,10 @@ int main() { // expected-error-re@sycl/ext/oneapi/properties/property_utils.hpp:* {{static assertion failed due to requirement {{.+}}: Unrecognized property in property list.}} - // expected-error@+1 {{no viable constructor or deduction guide for deduction of template arguments of 'properties'}} + // expected-error@+1 {{no viable constructor or deduction guide for deduction of template arguments of 'sycl::ext::oneapi::experimental::properties'}} auto InvalidPropertyList1 = sycl::ext::oneapi::experimental::properties(1); // expected-error-re@sycl/ext/oneapi/properties/property_utils.hpp:* {{static assertion failed due to requirement {{.+}}: Unrecognized property in property list.}} - // expected-error@+1 {{no viable constructor or deduction guide for deduction of template arguments of 'properties'}} + // expected-error@+1 {{no viable constructor or deduction guide for deduction of template arguments of 'sycl::ext::oneapi::experimental::properties'}} auto InvalidPropertyList2 = sycl::ext::oneapi::experimental::properties( sycl::ext::oneapi::experimental::foo{1}, true); // expected-error-re@sycl/ext/oneapi/properties/properties.hpp:* {{static assertion failed due to requirement {{.+}}: Duplicate properties in property list.}}