------- Comment #1 from jason at gcc dot gnu dot org  2010-02-23 01:47 -------
This isn't specific to lambdas; this testcase gets the same ICE:

struct A
{
  typedef void (F)();
  F f = 1;
};


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[c++0x] ICE with invalid use|ICE with invalid in-class
                   |of lambda expression        |initializer


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

Reply via email to