| Index: lib/src/prism/tests/languages/crystal/attribute_feature.test
|
| diff --git a/lib/src/prism/tests/languages/crystal/attribute_feature.test b/lib/src/prism/tests/languages/crystal/attribute_feature.test
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..02d07afd7aeddc9098e3b15d1f1cab5e39f60b3e
|
| --- /dev/null
|
| +++ b/lib/src/prism/tests/languages/crystal/attribute_feature.test
|
| @@ -0,0 +1,21 @@
|
| +@[AlwaysInline]
|
| +@[CallConvention("X86_StdCall")]
|
| +
|
| +----------------------------------------------------
|
| +
|
| +[
|
| + ["attribute", [
|
| + ["delimiter", "@["],
|
| + ["constant", "AlwaysInline"],
|
| + ["delimiter", "]"]
|
| + ]],
|
| + ["attribute", [
|
| + ["delimiter", "@["],
|
| + ["function", "CallConvention"], ["punctuation", "("], ["string", [ "\"X86_StdCall\"" ]], ["punctuation", ")"],
|
| + ["delimiter", "]"]
|
| + ]]
|
| +]
|
| +
|
| +----------------------------------------------------
|
| +
|
| +Checks for attributes.
|
|
|