branch: elpa/d-mode
commit 4f2994b1c4f89f580cc5a6227b8a0e5f894d818c
Author: Dmitri Makarov <[email protected]>
Commit: Dmitri Makarov <[email protected]>

    Add more code to the I0039 test.
---
 tests/I0039.d | 48 ++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 42 insertions(+), 6 deletions(-)

diff --git a/tests/I0039.d b/tests/I0039.d
index 299da99..ff02216 100644
--- a/tests/I0039.d
+++ b/tests/I0039.d
@@ -1,18 +1,54 @@
 void foo()
 {
-  version (a) {
-    // 
+  version (a)
+  {
   }
-  else version (b) {
+  else version (b)
+  {
   }
-  else {
+  else
+  {
   }
 
-  debug (A) {
+  debug (A)
+  {
   }
-  else debug (B) {
+  else debug (B)
+  {
   }
   else
   {
   }
+
+  version (a)
+  {
+  }
+  else
+    version (b)
+    {
+    }
+    else
+    {
+    }
+
+  if (true)
+  {
+  }
+  else
+    if (true)
+    {
+    }
+    else
+    {
+    }
+
+  static if (1 < 2)
+  {
+  }
+  else static if (false)
+  {
+  }
+  else static if (true)
+  {
+  }
 }

Reply via email to