Skip to content

Commit 448e63a

Browse files
committed
Change expected error line after format change
Signed-off-by: Steffen Larsen <[email protected]>
1 parent 1b6ccbe commit 448e63a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/test/extensions/properties/properties_ctor_constexpr.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ int main() {
5353
sycl::ext::oneapi::experimental::foz(3.14, false)};
5454

5555
// 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}}
5757
constexpr decltype(sycl::ext::oneapi::experimental::properties{
5858
sycl::ext::oneapi::experimental::fir(3.14, false)}) NCRTProps1{
5959
sycl::ext::oneapi::experimental::fir(3.14, false)};
6060
// expected-error@+1 {{constexpr variable cannot have non-literal type}}
6161
constexpr auto NCRTProps2 = sycl::ext::oneapi::experimental::properties{
6262
sycl::ext::oneapi::experimental::fir(3.14, false)};
6363
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}}
6565
constexpr decltype(sycl::ext::oneapi::experimental::properties{
6666
sycl::ext::oneapi::experimental::foo(RTIntValue)}) NCRTProps3{
6767
sycl::ext::oneapi::experimental::foo(RTIntValue)};

0 commit comments

Comments
 (0)