Test that the line number for a "sub redefined" warning is for the start.
authorNicholas Clark <nick@ccl4.org>
Wed, 8 Aug 2012 14:24:57 +0000 (16:24 +0200)
committerNicholas Clark <nick@ccl4.org>
Mon, 3 Sep 2012 10:55:22 +0000 (12:55 +0200)
commit2d4e17002f84f407fd95e491979a0bafccc2a0f8
tree42987832cb936b27d8e970734f1c0cdc50701704
parent4a7d38e775a8ed02578c490e2e20173b020c5fca
Test that the line number for a "sub redefined" warning is for the start.

The Perl interpreter is careful to use the line number of the start of a
subroutine's redefinition for the warning, but there were no tests for this.
op.c
t/lib/warnings/op