summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-12-24 16:58:54 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-12-24 19:14:24 -0800
commitdb3abe521abb44011448508a58c8da53c407fb44 (patch)
tree62a99fa9383f08b28eb6246b0b28effafe561812 /t
parentb1b6de96a8285515f92ad3060fe7741b47d49d12 (diff)
downloadperl-db3abe521abb44011448508a58c8da53c407fb44.tar.gz
Don’t warn for open(foo::bar)
Diffstat (limited to 't')
-rw-r--r--t/lib/warnings/toke1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/lib/warnings/toke b/t/lib/warnings/toke
index 25d53a04a9..13fcc1e5b1 100644
--- a/t/lib/warnings/toke
+++ b/t/lib/warnings/toke
@@ -662,6 +662,7 @@ open FOO || time;
open FOO || time;
}
open FOO || time;
+open Foo::BAR; # this should not warn
EXPECT
Precedence problem: open FOO should be open(FOO) at - line 3.
Precedence problem: open FOO should be open(FOO) at - line 8.