// PR c++/50508 // { dg-do compile { target c++11 } } template struct integral_constant { typedef T value_type; constexpr operator value_type() { return true; } }; static constexpr bool value = integral_constant() && true;