# test the @warning and @error directives for emitting user-defined warnings and errors @warning # .warning. @warning directive @error # .error. @error directive class Program def main is shared pass