1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
// This file was automatically generated by genny.
// Any changes will be lost if this file is regenerated.
// see https://github.com/cheekybits/genny
package bugreports
// CellInt is result of generating code via genny for type int
type CellInt struct {
Value int
}
const constantInt = 1
func funcInt(p CellInt) {}
// exampleInt does some instantation and function calls for types inclueded in this file.
// Targets github issue 15
func exampleInt() {
aCellInt := CellInt{}
anotherCellInt := CellInt{}
if aCellInt != anotherCellInt {
println(constantInt)
panic(constantInt)
}
funcInt(CellInt{})
}
|