aboutsummaryrefslogtreecommitdiff
path: root/src/go/types/testdata/check/tmp.go2
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/types/testdata/check/tmp.go2')
-rw-r--r--src/go/types/testdata/check/tmp.go217
1 files changed, 0 insertions, 17 deletions
diff --git a/src/go/types/testdata/check/tmp.go2 b/src/go/types/testdata/check/tmp.go2
deleted file mode 100644
index dae78caff8..0000000000
--- a/src/go/types/testdata/check/tmp.go2
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright 2020 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// This file is meant as "dumping ground" for debugging code.
-
-package p
-
-// fun test case
-type C[P interface{m()}] P
-
-func (r C[P]) m() { r.m() }
-
-func f[T interface{m(); n()}](x T) {
- y := C[T](x)
- y.m()
-}