diff options
author | Rob Pike <r@golang.org> | 2012-02-24 11:48:19 +1100 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2012-02-24 11:48:19 +1100 |
commit | 2b2a8fe77447a7549a4114f2071032e1987a49a3 (patch) | |
tree | eafdf8d1c1d1377c38a0f51727f8117038e68e51 /test/typeswitch3.go | |
parent | b97699ff90abc71a751c9a58648c20e49b3e9fcc (diff) | |
download | go-2b2a8fe77447a7549a4114f2071032e1987a49a3.tar.gz |
test/[n-z]*.go: add documentation
R=golang-dev, bradfitz, r
CC=golang-dev
http://codereview.appspot.com/5700056
Diffstat (limited to 'test/typeswitch3.go')
-rw-r--r-- | test/typeswitch3.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/typeswitch3.go b/test/typeswitch3.go index 69a2fca8b..5475a8a6d 100644 --- a/test/typeswitch3.go +++ b/test/typeswitch3.go @@ -4,6 +4,10 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// Verify that erroneous type switches are caught be the compiler. +// Issue 2700, among other things. +// Does not compile. + package main import ( |