test: remove a couple of bad tests that duplicate declbad.go

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5673089
This commit is contained in:
Ian Lance Taylor 2012-02-17 20:35:18 -08:00
parent 130b29b637
commit f228ed1a90
2 changed files with 0 additions and 26 deletions

View File

@ -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
}

View File

@ -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
}