ceremonyclient/bedlam/testsuite/lang/const_cast_string_bytearr.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

14 lines
245 B
Go

// -*- go -*-
package main
// @Test 42 1 = 0x21646c726f77202c6f6c6c6548
func main(a []byte, b int) string {
val := []byte{
0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x2c, 0x20, 0x77,
0x6f, 0x72, 0x6c, 0x64, 0x21,
}
ret := string(val)
return ret
}