aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/parser+module.test.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cc/parser+module.test.testscript')
-rw-r--r--libbuild2/cc/parser+module.test.testscript10
1 files changed, 10 insertions, 0 deletions
diff --git a/libbuild2/cc/parser+module.test.testscript b/libbuild2/cc/parser+module.test.testscript
index 91cbe45..6935f5e 100644
--- a/libbuild2/cc/parser+module.test.testscript
+++ b/libbuild2/cc/parser+module.test.testscript
@@ -59,6 +59,16 @@ import foo:part;
import foo:part.sub;
EOO
+: import-part-from-part
+:
+$* <<EOI >>EOO
+module foo:part;
+import :part.sub;
+EOI
+module foo:part;
+import foo:part.sub;
+EOO
+
: export-imported
:
$* <<EOI >>EOO