Skip to content

Commit 2b5b3e9

Browse files
Fix incorrect line number in Inputs/sycl.hpp
1 parent b316aa5 commit 2b5b3e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/SemaSYCL/stdtypes_kernel_type.cpp

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

2121
int main() {
2222
#ifdef CHECK_ERROR
23-
// expected-error@Inputs/sycl.hpp:328 5 {{kernel name cannot be a type in the "std" namespace}}
23+
// expected-error@Inputs/sycl.hpp:220 5 {{kernel name cannot be a type in the "std" namespace}}
2424
q.submit([&](handler &h) {
2525
// expected-note@+1{{in instantiation of function template specialization}}
2626
h.single_task<std::nullptr_t>([=] {});

0 commit comments

Comments
 (0)