Permalink
Browse files

add test for RT#115774

  • Loading branch information...
coke committed Mar 29, 2013
1 parent 13c6035 commit 30ac27fb6954ee58a4f88ea6fd4935c63089e1dc
Showing with 8 additions and 1 deletion.
  1. +8 −1 S29-context/eval.t
View
@@ -1,6 +1,6 @@
use v6;
use Test;
-plan 17;
+plan 18;
# L<S29/Context/"=item eval">
@@ -94,4 +94,11 @@ my $rt115344 = 115344;
#?niecza skip 'method form of eval does not see outer lexicals'
is('$rt115344'.eval, $rt115344, 'method form of eval sees outer lexicals');
+# RT #115774
+{
+ my int $a; eval('');
+ ok(1, "presence of low level types doesn't cause eval error")
+}
+
+
# vim: ft=perl6

0 comments on commit 30ac27f

Please sign in to comment.