// PR c++/66572 // { dg-do compile { target c++11 } } // { dg-options "-Wlogical-op" } struct false_type { static constexpr bool value = false; }; struct true_type { static constexpr bool value = true; }; template struct is_unsigned : false_type {}; template<> struct is_unsigned : true_type {}; template bool foo() { return is_unsigned::value && is_unsigned::value; } int main() { foo(); }