Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/lambda/lambda-conv6.C

raw
1 // PR c++/55015
2 // { dg-do link { target c++11 } }
3
4 typedef void (*VoidFunc)();
5 inline VoidFunc GetFunc() { return [](){}; }
6 int main() { VoidFunc func = GetFunc(); }