Skip to content

Commit 5e8085d

Browse files
authored
[NFC][SYCL] Relax the check in layout_exception (#13748)
In different version of glibc , we may get `struct` instead of `class`. To avoid noisy failures, we can remove the keyword check here.
1 parent 2f7e626 commit 5e8085d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test/abi/layout_exception.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ void foo() {
2929
// CHECK-NEXT: 32 | element_type * _M_ptr
3030
// CHECK-NEXT: 40 | class std::__shared_count<> _M_refcount
3131
// CHECK-NEXT: 40 | _Sp_counted_base<(_Lock_policy)2U> * _M_pi
32-
// CHECK-NEXT: 48 | class std::error_code MErrC
32+
// CHECK-NEXT: 48 | {{class|struct}} std::error_code MErrC
3333
// CHECK-NEXT: 48 | int _M_value
3434
// CHECK-NEXT: 56 | const error_category * _M_cat
3535
// CHECK-NEXT: 0 | class std::exception (primary virtual base)

0 commit comments

Comments
 (0)