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

--- Comment #2 from Volker Reichelt <reichelt at gcc dot gnu.org> 2011-12-04 
22:46:24 UTC ---
Here's another code snippet that triggers a similar ICE:

====================================
struct A {};

template<typename> struct B
{
  static constexpr A a = A(x);
};
====================================

bug.cc:5:28: error: 'x' was not declared in this scope
bug.cc:5:29: internal compiler error: unexpected expression '(const
A)(A)(<expression error>)' of kind implicit_conv_expr
Please submit a full bug report, [etc.]

Reply via email to