Test hex('x...').
[p5sagit/p5-mst-13.2.git] / t / op / misc.t
index 8281bf0..926c7f3 100755 (executable)
@@ -497,3 +497,11 @@ END { print $foo }
 ';
 EXPECT
 ZZZ
+########
+-w
+if (@ARGV) { print "" }
+else {
+  if ($x == 0) { print "" } else { print $x }
+}
+EXPECT
+Use of uninitialized value at - line 4.