Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added test for RT #78012
  • Loading branch information
peschwa committed Jan 26, 2014
1 parent 06a737b commit 8fe2db8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions S32-exceptions/misc.t
Expand Up @@ -469,4 +469,8 @@ throws_like q[sub f() {CALLER::<$x>}; my $x; f], X::Caller::NotDynamic, symbol =
}
}

# RT #78012
throws_like 'class A { method b { Q<b> } }; my $a = A.new; my $b = &A::b.assuming($a); $b();',
X::Method::NotFound, method => { m/'assuming'/ }, private => { $_ === False };

done;

0 comments on commit 8fe2db8

Please sign in to comment.