http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60852

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Further reduced:

struct D
{
  template <class T> D (T);
};
int operator~(const D &);

template <typename T> T &make ();

template <typename Rhs> struct H
{
  static const int value = sizeof ~make<Rhs>();
};

enum class E;

int main () { return H<E>::value; }

Reply via email to