diff options
Diffstat (limited to 'test/syntax/if.go')
-rw-r--r-- | test/syntax/if.go | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/test/syntax/if.go b/test/syntax/if.go deleted file mode 100644 index a3b51f0c0..000000000 --- a/test/syntax/if.go +++ /dev/null @@ -1,18 +0,0 @@ -// errchk $G $D/$F.go - -// Copyright 2011 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 x() { -} - -func main() { - if { // ERROR "missing condition" - } - - if x(); { // ERROR "missing condition" - } -} |