Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / spaceship-eq1.C
blob2e0ad0c53f7a016139f7c3c8395764d2b56f3a23
1 // PR c++/92973
2 // { dg-do compile { target c++11 } }
4 struct S { bool operator==(const S&) const = default; int s; }; // { dg-error "only available with" "" { target c++17_down } }
5 struct T { bool operator!=(const T&) const = default; int t; }; // { dg-error "only available with" "" { target c++17_down } }