Skip to content

Commit 20212fe

Browse files
committed
[SYCL] fix tests
1 parent 64d280f commit 20212fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/test/CodeGenSYCL/integration_header_ppmacros.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ int main() {
1717
sycl::kernel_single_task<class first_kernel>([]() {});
1818
}
1919
// CHECK: #ifndef SYCL_LANGUAGE_VERSION
20-
// CHECK-NEXT: #define SYCL_LANGUAGE_VERSION 202012L
20+
// CHECK-NEXT: #define SYCL_LANGUAGE_VERSION 202012
2121
// CHECK-NEXT: #endif //SYCL_LANGUAGE_VERSION
2222

2323
// CHECK-RANGE: #ifndef __SYCL_DISABLE_PARALLEL_FOR_RANGE_ROUNDING__

clang/test/Preprocessor/sycl-macro.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
// CHECK-SYCL-STD:#define __SYCL_ID_QUERIES_FIT_IN_INT__ 1
2222

23-
// CHECK-SYCL-STD-2020:#define SYCL_LANGUAGE_VERSION 202012L
23+
// CHECK-SYCL-STD-2020:#define SYCL_LANGUAGE_VERSION 202012
2424
// CHECK-SYCL-STD-2020:#define __SYCL_ID_QUERIES_FIT_IN_INT__ 1
2525

2626
// CHECK-SYCL-STD-DEVICE:#define __SYCL_DEVICE_ONLY__ 1

0 commit comments

Comments
 (0)