OSDN Git Service

Merge branch 'trunk' of git://gcc.gnu.org/git/gcc into rework
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / go.test / test / blank1.go
1 // errchk $G -e $D/$F.go
2
3 // Copyright 2009 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
6
7 package _       // ERROR "invalid package name _"
8
9 func main() {
10         _()     // ERROR "cannot use _ as value"
11         x := _+1        // ERROR "cannot use _ as value"
12 }