aboutsummaryrefslogtreecommitdiff
path: root/tests/exports/reexports.ek
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-01-19 16:33:32 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2025-01-19 16:33:32 +0200
commit284be00c81407735cc8ddec1f1353b867b2deffd (patch)
treef221a3fe79d9feedf3cdd64949d2462c8e31a47b /tests/exports/reexports.ek
parent94202d7e094bc39b04ecd96184bb9c5e61890d41 (diff)
downloadek-284be00c81407735cc8ddec1f1353b867b2deffd.tar.gz
ek-284be00c81407735cc8ddec1f1353b867b2deffd.zip
improve export model
Diffstat (limited to 'tests/exports/reexports.ek')
-rw-r--r--tests/exports/reexports.ek11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/exports/reexports.ek b/tests/exports/reexports.ek
new file mode 100644
index 0000000..a9b3167
--- /dev/null
+++ b/tests/exports/reexports.ek
@@ -0,0 +1,11 @@
+pub import "defines.ek"
+
+pub typedef exported_struct[reexported_trait T] {}
+
+priv_func() {
+ reexported_func(10);
+
+ mut p = exported_struct![i27] {};
+
+ reexported_macro!(p);
+}