projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add a new warning, "State variable %s will be reinitialized"
[p5sagit/p5-mst-13.2.git]
/
t
/
op
/
inc.t
diff --git
a/t/op/inc.t
b/t/op/inc.t
index
7d6ebab
..
3eec5cd
100755
(executable)
--- a/
t/op/inc.t
+++ b/
t/op/inc.t
@@
-2,7
+2,7
@@
# use strict;
-print "1..32\n";
+print "1..34\n";
my $test = 1;
@@
-185,3
+185,12
@@
ok ($a == 2147483647, $a);
$a = 2147483648;
$c=$a--;
ok ($a == 2147483647, $a);
+
+{
+ use integer;
+ my $x = 0;
+ $x++;
+ ok ($x == 1, "(void) i_postinc");
+ $x--;
+ ok ($x == 0, "(void) i_postdec");
+}