blob: 2e0ad0c53f7a016139f7c3c8395764d2b56f3a23 [file] [log] [blame]
// PR c++/92973
// { dg-do compile { target c++11 } }
struct S { bool operator==(const S&) const = default; int s; }; // { dg-error "only available with" "" { target c++17_down } }
struct T { bool operator!=(const T&) const = default; int t; }; // { dg-error "only available with" "" { target c++17_down } }