Eliminate use of fn in testcases

Fix cpp11_lambda_functions and rname to use fn1 instead of fn, since
fn is a reserved word as of PHP 7.4.
This commit is contained in:
Olly Betts 2021-03-30 11:01:51 +13:00
commit 8cd98ec74e
3 changed files with 5 additions and 5 deletions

View file

@ -56,7 +56,7 @@ auto lambda4 = [](int x, int y) { return x+y; };
auto lambda5 = []() { return thing; };
#endif
void fn() {
void fn1() {
int stuff = 0;
auto lambdaxxxx = [=,&stuff]() { return thing; };
}