mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-27 15:42:54 +00:00
18 lines
263 B
Go
18 lines
263 B
Go
|
package compiler
|
||
|
|
||
|
var builtinTestCases = []testCase{
|
||
|
{
|
||
|
"array len",
|
||
|
`
|
||
|
package foo
|
||
|
|
||
|
func Main() int {
|
||
|
x := []int{0, 1, 2}
|
||
|
y := len(x)
|
||
|
return y
|
||
|
}
|
||
|
`,
|
||
|
"53c56b52510053c16c766b00527ac46c766b00c361c06c766b51527ac46203006c766b51c3616c7566",
|
||
|
},
|
||
|
}
|