forked from boostorg/config
Improve lambda test case some more.
This commit is contained in:
1 parent
c5d40ff6da
commit
28832f792f
1 file changed
+3
-3
@@ -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