にゃははー

はへらー

Oops!

またぶつかった。ということで問題のコード。

template < typename T >
void op( const T & );

void hoge( void )
{
    op( []{ return []{}; }() );
}

調べたらgcc4.5の時からあるらしいのでバグレポはもう出てるんだろうな。

$ g++-4.5 --version
g++-4.5 (Ubuntu/Linaro 4.5.1-7ubuntu2) 4.5.1
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

で発生してた。