1
0
mirror of https://github.com/golang/go synced 2024-11-25 02:57:57 -07:00

bug163: ideographs are not letters

also update golden.out from bug162

R=rsc
DELTA=16  (16 added, 0 deleted, 0 changed)
OCL=30298
CL=30324
This commit is contained in:
Rob Pike 2009-06-15 21:13:28 -07:00
parent 30a28aec25
commit acaba18bba
2 changed files with 20 additions and 0 deletions

13
test/bugs/bug163.go Normal file
View File

@ -0,0 +1,13 @@
// errchk $G $D/$F.go
// 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
import "fmt"
func main() {
日本語 := 1; // Japanese ideographs are not letters
}

View File

@ -101,6 +101,13 @@ xyz: expected 1 2 3 got 3 2 1
abc: expected 4 5 6 got -4 4 4
BUG: bug159
=========== bugs/bug162.go
123
BUG: should fail
=========== bugs/bug163.go
BUG: should not compile
=========== fixedbugs/bug016.go
fixedbugs/bug016.go:7: constant -3 overflows uint