----- module test; /// class C { /// synchronized void f() { } } void main() { } ----- $ dmd -D -o- -c -test.d $ type test.html > <dl><dt><big><a name="C.f"></a>shared void <u>f</u>();
module test; /// class C { /// synchronized void f() { } pragma(msg, __traits(getFunctionAttributes, C.f)); } void main() { } gives > tuple("shared", "@system")