2 // { dg-do compile { target c++11 } }
7 static constexpr bool foo() { return sizeof(T) > 1; }
8 static constexpr bool bar() { return sizeof(T) > 1; }
14 X& operator=(X&&) noexcept(traits<T>::foo());
19 X<T>::operator=(X&&) noexcept(traits<T>::foo() && traits<T>::bar()) // { dg-error "different exception" }