2 // { dg-do compile { target c++23 } }
4 // uses of member only operators (call op)
6 // execution paths for subscript with 1 argument and 0 and 2+ arguments are different
7 // just to be safe, also test 0 and 2 argument cases here too
10 void operator()(this S&) {}
11 void operator()(this S&, int) {}
12 void operator()(this S&, int, int) {}
13 template<typename... Args>
14 void operator()(this S&, Args... args) {}
26 template<typename = void>