Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/spaceship-eq17.C

raw
1 // PR c++/107291
2 // { dg-do compile { target c++20 } }
3
4 struct S4; // { dg-message "declared here" }
5 bool operator==(S4 const &, S4 const &) = default; // { dg-error "not a friend" }