aboutsummaryrefslogtreecommitdiffhomepage
path: root/compiler/testdata/basic.go
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/testdata/basic.go')
-rw-r--r--compiler/testdata/basic.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/testdata/basic.go b/compiler/testdata/basic.go
index d2b4a96db..6c6f983e3 100644
--- a/compiler/testdata/basic.go
+++ b/compiler/testdata/basic.go
@@ -90,3 +90,9 @@ func foo() {
// Use this type.
func(b kv) {}(kv{})
}
+
+type T1 []T1
+type T2 [2]*T2
+
+var a T1
+var b T2