diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-01-19 16:33:32 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-01-19 16:33:32 +0200 |
| commit | 284be00c81407735cc8ddec1f1353b867b2deffd (patch) | |
| tree | f221a3fe79d9feedf3cdd64949d2462c8e31a47b /tests/exports/defines.ek | |
| parent | 94202d7e094bc39b04ecd96184bb9c5e61890d41 (diff) | |
| download | ek-284be00c81407735cc8ddec1f1353b867b2deffd.tar.gz ek-284be00c81407735cc8ddec1f1353b867b2deffd.zip | |
improve export model
Diffstat (limited to 'tests/exports/defines.ek')
| -rw-r--r-- | tests/exports/defines.ek | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/exports/defines.ek b/tests/exports/defines.ek new file mode 100644 index 0000000..d816af7 --- /dev/null +++ b/tests/exports/defines.ek @@ -0,0 +1,10 @@ +pub typedef i27 {} /* struct def */ +pub typedef int i27; /* alias def */ +pub define reexported_trait {} /* trait def */ +pub define reexported_macro() {} /* macro def */ +pub reexported_func(i27 v) {} /* func def */ +pub enum reexported_enum : int { + SOME_ENUM = 10 +} +// pub int reexported_var = 10; +// global vars not currently supported due to missing constexpr checking I guess |
