Skip to content

Commit eb032c7

Browse files
committed
[error-reporting.t] Add test for RT #80982
1 parent f94554a commit eb032c7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

integration/error-reporting.t

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,12 @@ A.new.x(42);',
6262
err => rx/'line 3'>>/,
6363
}, 'got the right line number for accessors';
6464

65+
# RT #80982
66+
is_run 'say 0080982',
67+
{
68+
status => 0,
69+
out => "80982\n",
70+
err => rx/ octal /,
71+
}, 'use of leading zero causes warning about octal';
72+
6573
# vim: ft=perl6

0 commit comments

Comments
 (0)