diff options
Diffstat (limited to 'test/fixedbugs/bug205.go')
-rw-r--r-- | test/fixedbugs/bug205.go | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/test/fixedbugs/bug205.go b/test/fixedbugs/bug205.go deleted file mode 100644 index 4262ec10d..000000000 --- a/test/fixedbugs/bug205.go +++ /dev/null @@ -1,18 +0,0 @@ -// errchk $G $D/$F.go - -// Copyright 2009 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. - -package main - -var t []int -var s string; -var m map[string]int; - -func main() { - println(t["hi"]); // ERROR "integer" - println(s["hi"]); // ERROR "integer" - println(m[0]); // ERROR "map index" -} - |