summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug238.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-01-19 15:25:44 -0800
committerRuss Cox <rsc@golang.org>2010-01-19 15:25:44 -0800
commitf782fb288b2a99d4b4889612727672c2f0b44185 (patch)
treede61d4d380c229a1fab9ed2f637b82f6735edaa0 /test/fixedbugs/bug238.go
parent02941f2e605d63f133b4f51c6e0c5551fb87bc5a (diff)
downloadgolang-f782fb288b2a99d4b4889612727672c2f0b44185.tar.gz
gc: const debug bool = false
R=ken2 CC=golang-dev http://codereview.appspot.com/186232
Diffstat (limited to 'test/fixedbugs/bug238.go')
-rw-r--r--test/fixedbugs/bug238.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/fixedbugs/bug238.go b/test/fixedbugs/bug238.go
index 3ceacf51d..83054fbc0 100644
--- a/test/fixedbugs/bug238.go
+++ b/test/fixedbugs/bug238.go
@@ -15,5 +15,8 @@ const d chan int = 4 // ERROR "convert|wrong|incompatible"
const e func() = 5 // ERROR "convert|wrong|incompatible"
const f struct{} = 6 // ERROR "convert|wrong|incompatible"
const g interface{} = 7 // ERROR "constant|wrong|incompatible"
+const h bool = false
+const i int = 2
+const j float = 5
func main() { println(a, b, c, d, e, f, g) }