]> Cypherpunks repositories - gostls13.git/commitdiff
bug163: ideographs are not letters
authorRob Pike <r@golang.org>
Tue, 16 Jun 2009 04:13:28 +0000 (21:13 -0700)
committerRob Pike <r@golang.org>
Tue, 16 Jun 2009 04:13:28 +0000 (21:13 -0700)
also update golden.out from bug162

R=rsc
DELTA=16  (16 added, 0 deleted, 0 changed)
OCL=30298
CL=30324

test/bugs/bug163.go [new file with mode: 0644]
test/golden.out

diff --git a/test/bugs/bug163.go b/test/bugs/bug163.go
new file mode 100644 (file)
index 0000000..30d2cab
--- /dev/null
@@ -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
+}
index 0cce6f5f4b727b87ce29313c0bbe4bc9e8dc9593..60e6f6f566e072ec9d49b213dd9467882d2b2cf9 100644 (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