Improve lambda test case some more.

This commit is contained in:
jzmaddock
2014-06-10 19:09:28 +01:00
parent c5d40ff6da
commit 28832f792f

View File

@ -17,14 +17,14 @@
namespace boost_no_cxx11_lambdas {
template <class Func>
void f(Func)
int f(Func f)
{
return f();
}
int test()
{
f([](){});
return 0;
return f([](){ return 0; });
}
}