[perl #25147] "stmt if BAREWORD" bypasses strict 'subs' checks
p4raw-id: //depot/perl@22256
print $@;
EXPECT
Bareword "refs" not allowed while "strict subs" in use at (eval 1) line 1.
+########
+# [perl #25147]
+use strict;
+print "" if BAREWORD;
+EXPECT
+Bareword "BAREWORD" not allowed while "strict subs" in use at - line 3.
+Execution of - aborted due to compilation errors.