neoneo-go/pkg/compiler/testdata/nestedcall/inner/call.go
Evgeniy Stratonikov 0bc81aecf4 compiler: do not emit code for unused imported functions
Our current algorithm marks function as used if it is called
at least ones, even if the callee function is itself unused.
This commit implements more clever traversal to collect usage
information more precisely.

Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
2021-10-13 15:56:07 +03:00

6 lines
74 B
Go

package inner
// Return65 returns 65.
func Return65() int {
return 65
}