class X::Syntax::P5 does X::Syntax { }

Syntax error thrown when some piece of code is clearly Perl, not Raku.

For example

for my $a (12{ };

dies with

===SORRY!===
This appears to be Perl code