diff options
Diffstat (limited to 'test/interface1.go')
-rw-r--r-- | test/interface1.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/interface1.go b/test/interface1.go index 649a955f6..202c37d86 100644 --- a/test/interface1.go +++ b/test/interface1.go @@ -4,6 +4,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// Check that interface{M()} = *interface{M()} produces a compiler error. + package main type Inst interface { |