We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beb49db commit f5d3f4fCopy full SHA for f5d3f4f
clang/test/SemaSYCL/sycl-pfwg-invalid-code.cpp
@@ -1,9 +1,7 @@
1
// RUN: %clang_cc1 -fsycl-is-device %s -verify
2
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
-
+// Tests that the compiler does not crash (due to a triggered assertion)
+// if definition of kernel_parallel_for_work_group is invalid.
7
template <typename, typename, typename K>
8
__attribute__((sycl_kernel)) void kernel_parallel_for_work_group(const K &) {
9
unknown(); // expected-error{{use of undeclared identifier 'unknown'}}
0 commit comments