blob: 241b277c05bb0b8c6efdbde08390222318c95f70 [file] [log] [blame]
// { dg-do compile { target c++17_down } }
// { dg-options "-Wno-pointer-arith" }
struct X {};
bool operator<= (X, X);
template<bool (X, X)> struct Y {};
Y<&operator<=> y;
bool foo (bool (*fn) (X, X), int n) { return n+&operator<=> fn; }