1 // PR c++/93870 - wrong error when converting template non-type arg.
2 // { dg-do compile { target c++11 } }
4 template <typename ENUM> struct EnumWrapper
8 constexpr operator ENUM() const
16 constexpr EnumWrapper<E> operator ~(E a)
21 template <E X> struct R
26 template <E X> struct S : R<~X>