Home /Modules/test-suites/ok-document-annotations.sleela

ok-document-annotations.sleela

test-suites/regression/corpus/annotations/ok-document-annotations.sleela · 8 line(s) · sleela

#sleela 3.1
// Document annotations must be followed by a modifier, import or struct, not directly by `class`.
@scope(system)
@area(network)
@responsibility(transport)
@next(system/network/multiplexing)
public class A { void main() { print("ok"); } }