// PR c++/90881 // { dg-do compile { target c++11 } } // { dg-options "-Wall" } namespace std { struct true_type { static const bool value = true; }; struct false_type { static const bool value = false; }; } template struct status : std::false_type{}; template struct status : std::true_type {}; // { dg-bogus "left operand of comma operator has no effect" } struct s1{int member;}; struct s2{int _member;}; int main(){ static_assert(status::value, "has member"); static_assert(!status::value, "has no member"); }