Skip to content

Commit 35a48cb

Browse files
Fznamznonpreethi-intel
authored andcommitted
[NFC] Fix SemaSYCL::unnamed-kernel.cpp test
Turns out the test tested buggy behaviour that was fixed by https://reviews.llvm.org/D134813 .
1 parent 123375f commit 35a48cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/SemaSYCL/unnamed-kernel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ struct MyWrapper {
6363
h.single_task<ValidAlias>([] {});
6464
});
6565

66-
// expected-error@#KernelSingleTask {{'std::max_align_t' is an invalid kernel name, 'std::(anonymous)' is declared in the 'std' namespace}}
66+
// expected-error@#KernelSingleTask {{'std::max_align_t' is an invalid kernel name, 'std::max_align_t' is declared in the 'std' namespace}}
6767
// expected-note@+2{{in instantiation of function template specialization}}
6868
q.submit([&](sycl::handler &h) {
6969
h.single_task<std::max_align_t>([] {});

0 commit comments

Comments
 (0)