aboutsummaryrefslogtreecommitdiff
path: root/tests/expansion/concat.testscript
blob: 75487b5d4bb1ef8477152ff5f79d68d3cbaf3596 (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-2018 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