☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
spaceship-eq17.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/spaceship-eq17.C
code
plain
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" }