blob: baaf1e125afcb8939e15fb1ec545a18456faa550 (
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.test
# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
# Test concatenated expansion.
.include ../common.test
: 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
|