Skip to content

Commit f5d3f4f

Browse files
committed
Address code-review comments
1 parent beb49db commit f5d3f4f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

clang/test/SemaSYCL/sycl-pfwg-invalid-code.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
// RUN: %clang_cc1 -fsycl-is-device %s -verify
22

3-
// Tests that an error diagnostic is issued without a crash (due to a
4-
// triggered assertion) when some invalid cases are encountered in
5-
// the processing of kernel_parallel_for_work_group.
6-
3+
// Tests that the compiler does not crash (due to a triggered assertion)
4+
// if definition of kernel_parallel_for_work_group is invalid.
75
template <typename, typename, typename K>
86
__attribute__((sycl_kernel)) void kernel_parallel_for_work_group(const K &) {
97
unknown(); // expected-error{{use of undeclared identifier 'unknown'}}

0 commit comments

Comments
 (0)