function fun() virtual { } // ---- // SyntaxError 4493: (0-26): Free functions cannot be virtual.