diff options
author | Rob Pike <r@golang.org> | 2008-09-04 17:36:57 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2008-09-04 17:36:57 -0700 |
commit | 0c1ee512f52869abb48bb5cdaa0c9ab3f89b6065 (patch) | |
tree | 52c3343c8d270466245afc560d12e9a6bf230e39 /test/fixedbugs/bug062.go | |
parent | ff5b496b6c6d111c9f4df092ce55a5571edca44d (diff) | |
download | golang-0c1ee512f52869abb48bb5cdaa0c9ab3f89b6065.tar.gz |
update tests
R=gri
OCL=14847
CL=14847
Diffstat (limited to 'test/fixedbugs/bug062.go')
-rw-r--r-- | test/fixedbugs/bug062.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/fixedbugs/bug062.go b/test/fixedbugs/bug062.go new file mode 100644 index 000000000..65d676fc4 --- /dev/null +++ b/test/fixedbugs/bug062.go @@ -0,0 +1,11 @@ +// 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 + +func main() { + var s string = nil; // nil should not be assignment compatible with string +} |