Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add a test for RT #69760
  • Loading branch information
timo committed Feb 27, 2013
1 parent 906a054 commit 7d2d272
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions S32-exceptions/misc.t
Expand Up @@ -378,4 +378,10 @@ if $emits_suggestions {

throws_like 'class Foobar is Foobar', X::Inheritance::SelfInherit, name => "Foobar";

{
# RT #69760
my $code = q{class GrammarUserClass { method bar { PostDeclaredGrammar.parse('OH HAI'); } }; grammar PostDeclaredGrammar { rule TOP { .* } }; GrammarUserClass.bar;};
throws_like $code, X::Undeclared::Symbols, post_types => (Quux => *);
}

done;

0 comments on commit 7d2d272

Please sign in to comment.