p4raw-id: //depot/perl@19469
}
require "./test.pl";
-plan( tests => 38 );
+plan( tests => 39 );
eval '%@x=0;';
like( $@, qr/^Can't modify hash dereference in repeat \(x\)/, '%@x=0' );
eval q{ "\c" };
like( $@, qr/^Missing control char name in \\c/, q("\c" string) );
+eval q{ qq(foo$) };
+like( $@, qr/Final \$ should be \\\$ or \$name/, q($ at end of "" string) );
+
# two tests for memory corruption problems in the said variables
# (used to dump core or produce strange results)