// PR c++/45080 // { dg-options -std=c++0x } typedef void(*pfn)(); template void f() { pfn fn = []{}; } void test() { f(); }