File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sycl/test/extensions/properties Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,15 +53,15 @@ int main() {
53
53
sycl::ext::oneapi::experimental::foz (3.14 , false )};
54
54
55
55
// Runtime value property without constexpr ctors
56
- // expected-error@+3 {{constexpr variable cannot have non-literal type}}
56
+ // expected-error@+2 {{constexpr variable cannot have non-literal type}}
57
57
constexpr decltype (sycl::ext::oneapi::experimental::properties{
58
58
sycl::ext::oneapi::experimental::fir (3.14 , false )}) NCRTProps1{
59
59
sycl::ext::oneapi::experimental::fir (3.14 , false )};
60
60
// expected-error@+1 {{constexpr variable cannot have non-literal type}}
61
61
constexpr auto NCRTProps2 = sycl::ext::oneapi::experimental::properties{
62
62
sycl::ext::oneapi::experimental::fir (3.14 , false )};
63
63
int RTIntValue = 1 ;
64
- // expected-error@+3 {{constexpr variable 'NCRTProps3' must be initialized by a constant expression}}
64
+ // expected-error@+2 {{constexpr variable 'NCRTProps3' must be initialized by a constant expression}}
65
65
constexpr decltype (sycl::ext::oneapi::experimental::properties{
66
66
sycl::ext::oneapi::experimental::foo (RTIntValue)}) NCRTProps3{
67
67
sycl::ext::oneapi::experimental::foo (RTIntValue)};
You can’t perform that action at this time.
0 commit comments