summaryrefslogtreecommitdiffstats
path: root/PerlTQt/t/f_import.t
diff options
context:
space:
mode:
Diffstat (limited to 'PerlTQt/t/f_import.t')
-rw-r--r--PerlTQt/t/f_import.t19
1 files changed, 19 insertions, 0 deletions
diff --git a/PerlTQt/t/f_import.t b/PerlTQt/t/f_import.t
new file mode 100644
index 0000000..9f8977c
--- /dev/null
+++ b/PerlTQt/t/f_import.t
@@ -0,0 +1,19 @@
+BEGIN { push @INC, "./t" ; print "1..1\n" }
+
+package main;
+
+use TQt;
+use My::SubCodec;
+use Foo::SubCodec;
+
+$tc1 = My::SubCodec();
+$tc2 = Foo::SubCodec();
+
+$tc1->bar();
+$tc2->foo();
+
+$tc2->deleteAllCodecs;
+
+# all imports OK
+
+print "ok 1\n";