module main import os @[export: 'Java_io_vlang_V_callStaticMethods'] @[tom: 'jerry'] @[direct_array_access; inline; unsafe] fn heavily_tagged() {} // a console attribute to force-open a console for easier diagnostics on windows // also it's not safe to use @[a_console; unsafe] fn dangerous_console() {} @[attribute_on_struct] struct Generic[T] { x T @[required] } struct Abc { f fn () int = fn () int { return 456 + os.args.len } @[atr1; atr2] // g Generic[int] = Generic[int]{123} @[atr3; atr4] }