aboutsummaryrefslogtreecommitdiff
path: root/tests/names/buildfile
blob: 0f3d482a9b27f592ccec9af02a007db6e6cd7bb8 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Name separation.
#
print foo {bar baz}
print fox/ {bar baz}
print fox/foo {bar baz}

# Name "crosses".
#
print {}{bar}  # Same as bar.
print {foo}{}  # Same as foo{} (empty name of type foo).
print foo{}    # For compatiron.
print {foo}{bar}
print {foo}{bar baz}
print {foo fox}{bar}
print {foo fox}{bar baz}

print dir/{}{bar}  # Same as dir/bar.
print dir/{foo}{}  # Same as dir/foo{} (directory of type foo).
print dir/foo{}    # For comparison.
print dir/{foo}{bar}
print dir/{foo}{bar baz}
print dir/{foo fox}{bar}
print dir/{foo fox}{bar baz}

print {dir/}{bar}
print {dir/}{bar baz}
print {dir/ dor/}{bar}
print {dir/ dor/}{bar baz}

print {dir/foo}{bar}
print {dir/foo}{bar baz}
print {dir/foo dor/fox}{bar}
print {dir/foo dor/fox}{bar baz}

print {dir/}{foo}{bar}
print {dir/}{foo}{bar baz}
print {dir/ dor/}{foo}{bar}
print {dir/ dor/}{foo fox}{bar baz}

print {prj%foo}{bar baz}
print {foo}{bar prj%baz}
#print {prj%foo}{bar prk%baz} # nested project name

print dir/{foo}{bar baz}
print {foo}{bar dir/{baz}}
print dir/{foo}{bar dor/{baz}}

print {dir/foo{}}{bar}
print {dir/{foo}}{bar}
print {dir/}{foo{bar}}
#print {dir/foo{fox}}{bar} # nested type name
#print {dir/foo}{fox{bar}} # nested type name

./: