commit | 501f0b578fd2bbd1919d85c4d3d4bb2e15e18545 | [log] [tgz] |
---|---|---|
author | Rob Pike <r@golang.org> | Thu Feb 23 18:47:26 2012 +1100 |
committer | Rob Pike <r@golang.org> | Thu Feb 23 18:47:26 2012 +1100 |
tree | 59aa62a3365d0d5334638d31156b31b26fcdb609 | |
parent | 3391de8df7a6b2bb87acae8f1a8e82f851fc0511 [diff] [blame] |
test: commentary for [h-m]*.go R=golang-dev, gri CC=golang-dev https://golang.org/cl/5674112
diff --git a/test/method1.go b/test/method1.go index bbbdbfa..365b8ca 100644 --- a/test/method1.go +++ b/test/method1.go
@@ -4,6 +4,9 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// Verify that method redeclarations are caught by the compiler. +// Does not compile. + package main type T struct { }