class ModifierTestA def foo pass class ModifierTestB inherits ModifierTestA def foo is nonvirtual, override # .error. cannot specify both pass class AccessorTest def a is private, protected # .error. can only specify one pass def b is public, internal, protected # .error. can only specify one pass def c is public, private # .error. can only specify one pass def d is internal, private # .error. can only specify one pass def e is internal, public, private, protected # .error. can only specify one pass