Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
RT #112470, my ${a}
  • Loading branch information
moritz committed Jan 12, 2013
1 parent b111dae commit b34a3de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions S32-exceptions/misc.t
Expand Up @@ -21,6 +21,8 @@ throws_like '$&', X::Obsolete, old => '$@ variable', replacement => '$, rx/<<rx>
throws_like 'qr/a/', X::Obsolete, old => rx/<<qr>>/, replacement => rx/<<rx>>/;
throws_like '"a" . "b"', X::Obsolete, replacement => '~';
throws_like 's/a/b/i', X::Obsolete;
# RT #112470
throws_like 'my ${a} = 5', X::Obsolete;

throws_like 'do { $^x }', X::Placeholder::Block, placeholder => '$^x';
throws_like 'do { @_ }', X::Placeholder::Block, placeholder => '@_';
Expand Down

0 comments on commit b34a3de

Please sign in to comment.