Permalink
Browse files

test for X::Placeholder::Block

  • Loading branch information...
1 parent e6549e8 commit fbb78ed55d45c88a2e6b4e0e9be4c8e4fb63c534 @moritz moritz committed Jan 23, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 S32-exceptions/misc.t
View
3 S32-exceptions/misc.t
@@ -34,4 +34,7 @@ throws_like 'sub f() { $^x }', X::Signature::Placeholder,
#?rakudo skip 'parsing of $& and other p5 variables'
throws_like '$&', X::Obsolete, old => '$@ variable', new => '$/ or $()';
+throws_like 'do { $^x }', X::Placeholder::Block;
+throws_like 'class { $^x }', X::Placeholder::Block;
+
done;

0 comments on commit fbb78ed

Please sign in to comment.