summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/d/40070-d_sp_paren.d
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/d/40070-d_sp_paren.d')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/d/40070-d_sp_paren.d23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/d/40070-d_sp_paren.d b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/d/40070-d_sp_paren.d
new file mode 100644
index 00000000..cc38daae
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/d/40070-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) {
+ }
+}
+