aboutsummaryrefslogtreecommitdiff
path: root/tests/semantics/source
diff options
context:
space:
mode:
Diffstat (limited to 'tests/semantics/source')
l---------tests/semantics/source/buildfile1
-rw-r--r--tests/semantics/source/nested/sourcee31
-rw-r--r--tests/semantics/source/sourcee11
-rw-r--r--tests/semantics/source/sourcee21
-rw-r--r--tests/semantics/source/sourcer9
-rw-r--r--tests/semantics/source/test.std5
6 files changed, 18 insertions, 0 deletions
diff --git a/tests/semantics/source/buildfile b/tests/semantics/source/buildfile
new file mode 120000
index 0000000..b6d1987
--- /dev/null
+++ b/tests/semantics/source/buildfile
@@ -0,0 +1 @@
+sourcer \ No newline at end of file
diff --git a/tests/semantics/source/nested/sourcee3 b/tests/semantics/source/nested/sourcee3
new file mode 100644
index 0000000..cdf51fb
--- /dev/null
+++ b/tests/semantics/source/nested/sourcee3
@@ -0,0 +1 @@
+print nested/sourcee3 \ No newline at end of file
diff --git a/tests/semantics/source/sourcee1 b/tests/semantics/source/sourcee1
new file mode 100644
index 0000000..683cd1f
--- /dev/null
+++ b/tests/semantics/source/sourcee1
@@ -0,0 +1 @@
+print sourcee1 \ No newline at end of file
diff --git a/tests/semantics/source/sourcee2 b/tests/semantics/source/sourcee2
new file mode 100644
index 0000000..c989838
--- /dev/null
+++ b/tests/semantics/source/sourcee2
@@ -0,0 +1 @@
+print sourcee2
diff --git a/tests/semantics/source/sourcer b/tests/semantics/source/sourcer
new file mode 100644
index 0000000..eb1310e
--- /dev/null
+++ b/tests/semantics/source/sourcer
@@ -0,0 +1,9 @@
+source
+source sourcee1
+source sourcee1 ../source/sourcee2
+nested/:
+{
+ source sourcee3
+ source ../sourcee1
+}
+:
diff --git a/tests/semantics/source/test.std b/tests/semantics/source/test.std
new file mode 100644
index 0000000..84d94b7
--- /dev/null
+++ b/tests/semantics/source/test.std
@@ -0,0 +1,5 @@
+sourcee1
+sourcee1
+sourcee2
+nested/sourcee3
+sourcee1