neoneo-go/cli/smartcontract/testdata/invalid9/invalid.go

13 lines
229 B
Go
Raw Normal View History

package invalid9
import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
type NamedStruct struct {
SomeInt int
}
func Main() NamedStruct {
runtime.Notify("SomeEvent", []interface{}{123})
return NamedStruct{SomeInt: 123}
}