mirror of
https://github.com/golang/go
synced 2024-11-12 09:50:21 -07:00
db3ec4f239
bug121.go:12:3: error: name list not allowed in interface type bug121.go:16:2: error: expected signature or type name semi1.go:10:76: error: unexpected semicolon or newline before ‘{’ semi1.go:10:5: error: reference to undefined name ‘x’ semi1.go:10:8: error: reference to undefined name ‘y’ semi1.go:12:3: error: reference to undefined name ‘z’ semi2.go:10:79: error: unexpected semicolon or newline before ‘{’ semi2.go:10:9: error: reference to undefined name ‘x’ semi3.go:10:79: error: unexpected semicolon or newline before ‘{’ semi3.go:10:6: error: reference to undefined name ‘x’ semi3.go:10:9: error: reference to undefined name ‘y’ semi3.go:10:12: error: reference to undefined name ‘z’ semi3.go:12:3: error: reference to undefined name ‘z’ semi4.go:11:2: error: unexpected semicolon or newline before ‘{’ semi4.go:10:6: error: reference to undefined name ‘x’ semi4.go:12:3: error: reference to undefined name ‘z’ semi5.go:10:1: error: unexpected semicolon or newline before ‘{’ semi7.go:11:2: error: unexpected semicolon or newline before ‘else’ semi7.go:10:5: error: reference to undefined name ‘x’ slice.go:9:11: error: missing lower bound in slice expression slice.go:9:9: error: reference to undefined name ‘y’ slice.go:9:12: error: reference to undefined name ‘z’ R=rsc CC=golang-dev https://golang.org/cl/201061
14 lines
274 B
Go
14 lines
274 B
Go
// errchk $G -e $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()
|
|
{ // ERROR "unexpected semicolon or newline before .?{.?"
|
|
|
|
|
|
|