github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/challenges/composite0b.gno (about) 1 package main 2 3 // NOTE: this requires implementing String2() to 4 // prevent infinite recursion. 5 6 var a = &[]*T{} 7 8 type T struct{ name string } 9 10 func main() { 11 println(a) 12 } 13 14 // Output: 15 // &struct{("" string)}