ceremonyclient/bedlam/testsuite/lang/const_slice_arr_0.qcl
Cassandra Heart dbd95bd9e9
v2.1.0 (#439)
* v2.1.0 [omit consensus and adjacent] - this commit will be amended with the full release after the file copy is complete

* 2.1.0 main node rollup
2025-09-30 02:48:15 -05:00

18 lines
294 B
Go

// -*- go -*-
package main
// @Hex
// @LSB
// @Test 0 0 = 0x2c20776f726c6421
func main(a, b int32) []byte {
// 48656c6c6f 2c20776f726c6421
data := []byte("Hello, world!")
// data := []byte{72, 101, 108, 108, 111, 111}
return foo(data[5:])
}
func foo(data []byte) []byte {
return data
}