summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/d/d_sp_paren.d
blob: 2b28a7f1d2b7b44977f168a982115dc3c113c592 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version(unittest) {
import foo;
}

void main() {
scope(exit) {
foo();
}

scope(success) suckit();

scope f = new Foo();
if(foo)
{
}

try {
throw(e);
}
catch(Exception e) {
}
}