Closed
Description
// We are checking for
// max_work_group_size and max_global_work_dim
// attributes when merging, so the test compiles without
// any diagnostic when it shouldn't.
struct TRIFuncObjBad {
[[intel::max_work_group_size(4, 4, 4)]] void
operator()() const;
};
[[intel::max_global_work_dim(0)]]
void TRIFuncObjBad::operator()() const {}