aboutsummaryrefslogtreecommitdiff
path: root/test/import.tm
diff options
context:
space:
mode:
Diffstat (limited to 'test/import.tm')
-rw-r--r--test/import.tm9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/import.tm b/test/import.tm
new file mode 100644
index 00000000..58f4e451
--- /dev/null
+++ b/test/import.tm
@@ -0,0 +1,9 @@
+imported := import ./use_import
+
+func asdf()->imported.ImportedType:
+ return imported.get_value()
+
+func main():
+ >> [:imported.ImportedType]
+ >> asdf()
+ = ImportedType(name="Hello")