Index: lib/src/prism/tests/languages/d/property_feature.test |
diff --git a/lib/src/prism/tests/languages/d/property_feature.test b/lib/src/prism/tests/languages/d/property_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9e61b062942bb20bfd440f2c95705b283ee7d929 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/d/property_feature.test |
@@ -0,0 +1,17 @@ |
+@property int data() |
+@disable this(); |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["property", "@property"], |
+ ["keyword", "int"], |
+ ["function", "data"], ["punctuation", "("], ["punctuation", ")"], |
+ ["property", "@disable"], |
+ ["keyword", "this"], ["punctuation", "("], ["punctuation", ")"], |
+ ["punctuation", ";"] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Check for properties. |