emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/d-mode 4f2994b 082/346: Add more code to the I0039 test.


From: ELPA Syncer
Subject: [nongnu] elpa/d-mode 4f2994b 082/346: Add more code to the I0039 test.
Date: Sun, 29 Aug 2021 11:00:08 -0400 (EDT)

branch: elpa/d-mode
commit 4f2994b1c4f89f580cc5a6227b8a0e5f894d818c
Author: Dmitri Makarov <dmakarov@alumni.stanford.edu>
Commit: Dmitri Makarov <dmakarov@alumni.stanford.edu>

    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

[Prev in Thread] Current Thread [Next in Thread]