Skip to content

Commit 000286a

Browse files
committed
rebase and update test
Signed-off-by: Chris Perkins <chris.perkins@intel.com>
1 parent c697445 commit 000286a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/SemaSYCL/reqd-sub-group-size-device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Functor8 { // expected-error {{conflicting attributes applied to a SYCL ke
2121

2222
class Functor4 {
2323
public:
24-
[[intel::reqd_sub_group_size(12)]] void operator()() {}
24+
[[intel::reqd_sub_group_size(12)]] void operator()() const {}
2525
};
2626

2727
class Functor {

0 commit comments

Comments
 (0)