+# Test for fix of RT #24404 : "require $scalar" may load a directory
+my $r = "threads";
+eval { require $r };
+$i++;
+if($@ =~ /Directory .*threads not allowed in require/) {
+ print "ok $i\n";
+} else {
+ print "not ok $i\n";
+}
+
+############################
+#### Add new tests here ####
+############################
+