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