diff --git a/tests/suite/syntax/decorator.typ b/tests/suite/syntax/decorator.typ new file mode 100644 index 000000000..b2d01d5f5 --- /dev/null +++ b/tests/suite/syntax/decorator.typ @@ -0,0 +1,16 @@ +// Test decorators. + +--- decorator --- + +/! allow("unnecessary-stars") +#[*a*] + +#{ + /! allow("unnecessary-stars") + [*a*] +} + +$ + /! allow("unnecessary-stars") + #[*a*] +$