This is a test that overflows the C stack though infinite
recursion. Unfortunately, FreeBSD doesn't seem to overflow the
stack as much as it overflows main memory. On my FreeBSD 12 VM,
it uses all available swap and hangs. This patch skips it only
for FreeBSD.
TODO: {
local $::TODO = 'RT #3054: Recursive operator overloading overflows the C stack';
+ todo_skip($::TODO) if $^O eq 'freebsd';
fresh_perl_is(<<'EOP', "ok\n", {}, 'RT #3054: Recursive operator overloading should not crash the interpreter');
use overload '""' => sub { "$_[0]" };
print bless {}, __PACKAGE__;