summaryrefslogtreecommitdiff
path: root/test/varerr.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/varerr.go')
-rw-r--r--test/varerr.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/varerr.go b/test/varerr.go
deleted file mode 100644
index ddd718f5b..000000000
--- a/test/varerr.go
+++ /dev/null
@@ -1,14 +0,0 @@
-// errchk $G $D/$F.go
-
-// Copyright 2010 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() {
- _ = asdf // ERROR "undefined.*asdf"
-
- new = 1 // ERROR "use of builtin new not in function call|invalid left hand side"
-}
-