*bar::like = *like;
}
no warnings 'deprecated';
-plan 139;
+plan 140;
# -------------------- Errors with feature disabled -------------------- #
state sub END { shift }
is eval{END('jkqeudth')}, jkqeudth,
'state sub END {shift} implies @_, not @ARGV';
+ state sub CORE { scalar reverse shift }
+ is CORE::uc("hello"), "HELLO",
+ 'lexical CORE does not interfere with CORE::...';
}
{
state sub redef {}