blob: 766c331773422159c0e8be149881411eaf260e3e [file] [log] [blame]
// PR c++/93998
// { dg-do compile { target c++11 } }
struct C
{
constexpr bool operator== (C x) const noexcept { return v == x.v; }
int v;
};
int
foo (const C a, const C b, bool c)
{
return __builtin_expect (!!(a == b || c), 1) ? 0 : 1;
}