[svn:parrot] r39784 - trunk/t/compilers/imcc/syn

chromatic at svn.parrot.org chromatic at svn.parrot.org
Thu Jun 25 22:49:13 UTC 2009


Author: chromatic
Date: Thu Jun 25 22:49:12 2009
New Revision: 39784
URL: https://trac.parrot.org/parrot/changeset/39784

Log:
[t] Added IMCC syntax error regression test for RT #60172, a segfault in an
IMCC syntax error.

Modified:
   trunk/t/compilers/imcc/syn/regressions.t

Modified: trunk/t/compilers/imcc/syn/regressions.t
==============================================================================
--- trunk/t/compilers/imcc/syn/regressions.t	Thu Jun 25 22:35:37 2009	(r39783)
+++ trunk/t/compilers/imcc/syn/regressions.t	Thu Jun 25 22:49:12 2009	(r39784)
@@ -6,7 +6,7 @@
 use warnings;
 use lib qw( . lib ../lib ../../lib );
 use Test::More;
-use Parrot::Test tests => 14;
+use Parrot::Test tests => 15;
 
 pir_error_output_like( <<'CODE', <<'OUT', 'invalid get_results syntax');
 .sub main :main
@@ -191,6 +191,15 @@
 OUT
 
 }
+
+pir_error_output_like( <<'CODE', <<'OUT', 'No segfault from syntax error, RT #60172');
+.sub 'main'
+    ($S0) = 'blah'(:pir_only=>1)
+.end
+CODE
+/syntax error.+unexpected/
+OUT
+
 # Local Variables:
 #   mode: cperl
 #   cperl-indent-level: 4


More information about the parrot-commits mailing list