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:
parent
49d923b917
commit
8cd98ec74e
3 changed files with 5 additions and 5 deletions
|
|
@ -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; };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue