]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - t/41-memory.t
Prevent bogus invalid syntaxes caused by reallocated memory chunks
[perl/modules/indirect.git] / t / 41-memory.t
diff --git a/t/41-memory.t b/t/41-memory.t
new file mode 100644 (file)
index 0000000..0228929
--- /dev/null
@@ -0,0 +1,8 @@
+#!perl -T
+
+use lib 't/lib';
+
+use Test::More tests => 1;
+
+eval "require indirect::Test0::Oooooo::Pppppppp";
+is($@, '', 'memory reallocation to an uncatched optype');