aboutsummaryrefslogtreecommitdiff
path: root/tests/expansion/concat.testscript
blob: b1baf50906fa1f1a78c25317e0c726f24330c097 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# file      : tests/expansion/type.testscript
# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
# license   : MIT; see accompanying LICENSE file

# Test concatenated expansion.

.include ../common.testscript

: typed-exceptions
:
$* <<EOI >>/EOO
d = [dir_path] dir
s = [string] foo

print $d/{bar}
print $s{bar}
print $d/$s{bar}
print file{x$s}
print $d/{x$s}
print prj%{x$s}
EOI
dir/bar
foo{bar}
dir/foo{bar}
file{xfoo}
dir/xfoo
prj%xfoo
EOO