Lifetime specifiers are not allowed on method prototype declarations.
Even if some tools allow it, refrain from using this syntax to keep your code portable.
class Fly; extern function automatic void dream; endclass function automatic void Fly::dream; endfunction
class Fly; extern function void dream; endclass function automatic void Fly::dream; endfunction