summaryrefslogtreecommitdiff
path: root/t/op/stash.t
blob: c8fe0ae14a66ce98695b41084437b704ee536401 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!./perl

BEGIN {
    chdir 't' if -d 't';
    @INC = qw(../lib);
}

require "./test.pl";

plan( tests => 1 );

# Used to segfault (bug #15479)
fresh_perl_is(
    '%:: = ""',
    'Odd number of elements in hash assignment at - line 1.',
    { switches => [ '-w' ] },
    'delete $::{STDERR} and print a warning',
);