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

@ -25,7 +25,7 @@ public class rname_runme {
bar.foo_u((long)10);
RenamedBase base = new RenamedBase();
base.fn(base, base, base);
base.fn1(base, base, base);
if (!base.newname(10.0).equals("Base"))
throw new RuntimeException("base.newname");