mirror of
https://github.com/golang/go
synced 2024-11-25 05:38:01 -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:
parent
30a28aec25
commit
acaba18bba
13
test/bugs/bug163.go
Normal file
13
test/bugs/bug163.go
Normal 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
|
||||
}
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user