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

16 lines
204 B
Go

// -*- go -*-
package main
// @Test 1 1 = 1
// @Test 5 10 = 50
func main(a, b int32) int {
return mult(a, b)
}
func mult(a, b int) int {
mType := make(int, size(a)*2)
return mType(a) * mType(b)
}