mirror of
https://github.com/golang/go
synced 2024-11-22 07:04:40 -07:00
- added another bug test ('len' shouldn't be a keyword)
SVN=123225
This commit is contained in:
parent
e5373f27d0
commit
9615542d10
11
test/bugs/bug053.go
Normal file
11
test/bugs/bug053.go
Normal file
@ -0,0 +1,11 @@
|
||||
// $G $D/$F.go && $L $F.$A && ./$A.out
|
||||
|
||||
// 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 len int; // len should not be a keyword - this doesn't compile
|
||||
}
|
@ -267,6 +267,10 @@ BUG: infinite loop in error reporting
|
||||
=========== bugs/bug052.go
|
||||
BUG: incorrect code for division
|
||||
|
||||
=========== bugs/bug053.go
|
||||
bugs/bug053.go:6: syntax error
|
||||
BUG: len should not be a keyword
|
||||
|
||||
=========== fixedbugs/bug000.go
|
||||
|
||||
=========== fixedbugs/bug001.go
|
||||
|
Loading…
Reference in New Issue
Block a user