summaryrefslogtreecommitdiff
path: root/t/op/qr.t
blob: ff9449e759b69c90606c29af6beda733fa1b6ec5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!./perl -w

BEGIN {
    chdir 't' if -d 't';
    @INC = '../lib';
    require './test.pl';
}

plan tests => 1;

my $rx = qr//;

is(ref $rx, "Regexp", "qr// blessed into `Regexp' by default");