summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug104.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-12-12 13:29:25 -0800
committerRob Pike <r@golang.org>2008-12-12 13:29:25 -0800
commit4bfb34905beac514685f61ecd433b120707d27e2 (patch)
tree64c6cd9f697a00e91c3b4d12e809b944a19dc074 /test/fixedbugs/bug104.go
parent529b027f784bb9b94e2057282fd5ee34b9ef361a (diff)
downloadgolang-4bfb34905beac514685f61ecd433b120707d27e2.tar.gz
test update
R=rsc DELTA=16 (5 added, 10 deleted, 1 changed) OCL=21085 CL=21087
Diffstat (limited to 'test/fixedbugs/bug104.go')
-rw-r--r--test/fixedbugs/bug104.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/fixedbugs/bug104.go b/test/fixedbugs/bug104.go
new file mode 100644
index 000000000..dd4bb5834
--- /dev/null
+++ b/test/fixedbugs/bug104.go
@@ -0,0 +1,10 @@
+// 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 f() string {
+ return 0 // ERROR "conversion|type"
+}