From f228ed1a90ad22680a57df85c4796c83e636ef71 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 17 Feb 2012 20:35:18 -0800 Subject: [PATCH] test: remove a couple of bad tests that duplicate declbad.go R=golang-dev, r CC=golang-dev https://golang.org/cl/5673089 --- test/fixedbugs/bug036.go | 13 ------------- test/fixedbugs/bug038.go | 13 ------------- 2 files changed, 26 deletions(-) delete mode 100644 test/fixedbugs/bug036.go delete mode 100644 test/fixedbugs/bug038.go diff --git a/test/fixedbugs/bug036.go b/test/fixedbugs/bug036.go deleted file mode 100644 index cc20516ce8..0000000000 --- a/test/fixedbugs/bug036.go +++ /dev/null @@ -1,13 +0,0 @@ -// ! $G $D/$F.go >/dev/null -// # ignoring error messages... - -// 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() { - s := float(0); - s := float(0); // BUG redeclaration -} diff --git a/test/fixedbugs/bug038.go b/test/fixedbugs/bug038.go deleted file mode 100644 index 7585376a36..0000000000 --- a/test/fixedbugs/bug038.go +++ /dev/null @@ -1,13 +0,0 @@ -// ! $G $D/$F.go >/dev/null -// # ignoring error messages... - -// 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 z [3]byte; - z := new([3]byte); // BUG redeclaration -} -- 2.50.0