forked from boostorg/config
Improve lambda test case some more.
This commit is contained in:
@ -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; });
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user