v2 / vlib / v / fmt / tests / attrs_input.vv
10 lines · 9 sloc · 293 bytes · 757929392e0e7a75fc1272116460981e589737d5
Raw
1@[inline]
2@[export: 'JNICALL Java_io_vlang_V_callStaticMethods']
3@[direct_array_access]
4@[unsafe]
5@[tom: 'jerry']
6fn heavily_tagged() {}
7
8@[console] // console attribute to force-open a console for easier diagnostics on windows
9@[unsafe] // also it's not safe to use
10fn dangerous_console() {}
11