branch: elpa/d-mode
commit 44cf02ba15941c766f7915221e4ec800b757296b
Author: Vladimir Panteleev <[email protected]>
Commit: Vladimir Panteleev <[email protected]>

    tests: New testcase
    
    
https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/pull/93#issuecomment-541009399
---
 tests/I0093_541009399.d      | 7 +++++++
 tests/I0093_541009399.d.html | 7 +++++++
 2 files changed, 14 insertions(+)

diff --git a/tests/I0093_541009399.d b/tests/I0093_541009399.d
new file mode 100644
index 0000000..5978e9a
--- /dev/null
+++ b/tests/I0093_541009399.d
@@ -0,0 +1,7 @@
+// #run: (d-test-fontification)
+
+struct S
+{
+    @safe:
+    T x;
+}
diff --git a/tests/I0093_541009399.d.html b/tests/I0093_541009399.d.html
new file mode 100644
index 0000000..47f87da
--- /dev/null
+++ b/tests/I0093_541009399.d.html
@@ -0,0 +1,7 @@
+<span class="comment-delimiter">// </span><span class="comment">#run: 
(d-test-fontification)
+</span>
+<span class="keyword">struct</span> <span class="type">S</span>
+{
+    <span class="c-annotation-face">@safe</span>:
+    <span class="type">T</span> <span class="variable-name">x</span>;
+}

Reply via email to