summaryrefslogtreecommitdiff
path: root/t/pragma/warn
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-08-16 19:49:09 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-16 19:49:09 +0000
commit5779bbb1f597d1ebb4c7e5a72ad2a31cf4b91093 (patch)
tree2f4e2e4cbb1198159afa59bfc8d6529c21a44f1e /t/pragma/warn
parentca24dfc6e670a1e3ff3c351be5646eb755ffa455 (diff)
parenta7c6d24429ab2b6db54575a3bdc62c7ed9f881cf (diff)
downloadperl-5779bbb1f597d1ebb4c7e5a72ad2a31cf4b91093.tar.gz
Integrate with Nick.
p4raw-id: //depot/cfgperl@3999
Diffstat (limited to 't/pragma/warn')
-rw-r--r--t/pragma/warn/op16
1 files changed, 0 insertions, 16 deletions
diff --git a/t/pragma/warn/op b/t/pragma/warn/op
index 2377066622..b5d2e71ebe 100644
--- a/t/pragma/warn/op
+++ b/t/pragma/warn/op
@@ -89,13 +89,11 @@
defined(@array) is deprecated
(Maybe you should just omit the defined()?)
- defined @a ;
my @a ; defined @a ;
defined (@a = (1,2,3)) ;
defined(%hash) is deprecated
(Maybe you should just omit the defined()?)
- defined %h ;
my %h ; defined %h ;
Mandatory Warnings
@@ -739,13 +737,6 @@ Statement unlikely to be reached at - line 4.
########
# op.c
use warning 'deprecated' ;
-defined(@a);
-EXPECT
-defined(@array) is deprecated at - line 3.
-(Maybe you should just omit the defined()?)
-########
-# op.c
-use warning 'deprecated' ;
my @a; defined(@a);
EXPECT
defined(@array) is deprecated at - line 3.
@@ -760,13 +751,6 @@ defined(@array) is deprecated at - line 3.
########
# op.c
use warning 'deprecated' ;
-defined(%h);
-EXPECT
-defined(%hash) is deprecated at - line 3.
-(Maybe you should just omit the defined()?)
-########
-# op.c
-use warning 'deprecated' ;
my %h; defined(%h);
EXPECT
defined(%hash) is deprecated at - line 3.