diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/d/d_sp_paren.d')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/d/d_sp_paren.d | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/d/d_sp_paren.d b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/d/d_sp_paren.d new file mode 100644 index 00000000..2b28a7f1 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/d/d_sp_paren.d @@ -0,0 +1,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) { +} +} + |