test for global destruction bug
[gitmo/Moo.git] / xt / global-destruct-jenga.t
diff --git a/xt/global-destruct-jenga.t b/xt/global-destruct-jenga.t
new file mode 100644 (file)
index 0000000..3954f9d
--- /dev/null
@@ -0,0 +1,7 @@
+use strictures 1;
+use Test::More;
+
+my $out = `$^X xt/global-destruct-jenga-helper.pl 2>&1`;
+is $out, '', 'no errors from global destruct of jenga object';
+
+done_testing;