aboutsummaryrefslogtreecommitdiff
path: root/test/typeparam/interfacearg.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/typeparam/interfacearg.go')
-rw-r--r--test/typeparam/interfacearg.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/typeparam/interfacearg.go b/test/typeparam/interfacearg.go
index 1d19499318..28ea3e3afb 100644
--- a/test/typeparam/interfacearg.go
+++ b/test/typeparam/interfacearg.go
@@ -23,9 +23,11 @@ func F() {
// Testing the various combinations of method expressions.
type S1 struct{}
+
func (*S1) M() {}
type S2 struct{}
+
func (S2) M() {}
func _F1[T interface{ M() }](t T) {