From 27e43085a3f5f3fe721f2a033093448f57fa8492 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Tue, 15 Jul 2008 10:27:05 -0700 Subject: [PATCH] new bug SVN=127232 --- test/bugs/bug069.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/bugs/bug069.go diff --git a/test/bugs/bug069.go b/test/bugs/bug069.go new file mode 100644 index 0000000000..b33e4a4069 --- /dev/null +++ b/test/bugs/bug069.go @@ -0,0 +1,18 @@ +// $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(){ + c := new(chan int); + ok := false; + i := 0; + + i, ok =