import sys

struct Struct {
	func *any
}

main() {
	s := new(Struct)
	s.func = f
	s.func(0)
	sys.exit(1)
}

f(code int) {
	sys.exit(code)
}