branch: elpa/d-mode
commit 6db43b2f458cd028661681b64c1cfd6c687a004e
Author: Vladimir Panteleev <[email protected]>
Commit: Vladimir Panteleev <[email protected]>
tests: Add additional tests for #30
---
tests/I0030.d | 3 +++
tests/I0030.d.html | 3 +++
2 files changed, 6 insertions(+)
diff --git a/tests/I0030.d b/tests/I0030.d
index e269971..cf60573 100644
--- a/tests/I0030.d
+++ b/tests/I0030.d
@@ -9,4 +9,7 @@ const class C
auto foo = getFoo();
const baz = getFoo();
}
+
+ const auto foo = 4;
+ immutable auto boo = 4;
}
diff --git a/tests/I0030.d.html b/tests/I0030.d.html
index 463753e..9a529ca 100644
--- a/tests/I0030.d.html
+++ b/tests/I0030.d.html
@@ -9,4 +9,7 @@
<span class="keyword">auto</span> <span
class="variable-name">foo</span> = getFoo();
<span class="keyword">const</span> <span
class="variable-name">baz</span> = getFoo();
}
+
+ <span class="keyword">const auto</span> <span
class="variable-name">foo</span> = 4;
+ <span class="keyword">immutable auto</span> <span
class="variable-name">boo</span> = 4;
}