------- Comment #5 from jason at gcc dot gnu dot org 2010-06-08 00:07 ------- This actually isn't lambda-specific. The same crash happens with
template <typename T> void f(T t, decltype(*t)) { struct A { void g() { foo; } }; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44366