mirror of
https://github.com/golang/go.git
synced 2024-09-29 14:26:50 +00:00
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:
parent
130b29b637
commit
f228ed1a90
@ -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
|
||||
}
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user