]> Cypherpunks repositories - gostls13.git/commitdiff
triple quote
authorRuss Cox <rsc@golang.org>
Mon, 20 Jul 2009 21:15:36 +0000 (14:15 -0700)
committerRuss Cox <rsc@golang.org>
Mon, 20 Jul 2009 21:15:36 +0000 (14:15 -0700)
R=ken
OCL=31868
CL=31874

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

diff --git a/test/bugs/bug169.go b/test/bugs/bug169.go
new file mode 100644 (file)
index 0000000..c42727f
--- /dev/null
@@ -0,0 +1,10 @@
+// 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
+var x = ''';           // ERROR "char"
+
+
index 0b6be9493761877183937336f2a47b3fa57cae88..e232ffb88d7a0bc8a3e2718f544ebed026f2e875 100644 (file)
@@ -106,6 +106,9 @@ BUG: bug159
 123
 BUG: should fail
 
+=========== bugs/bug169.go
+BUG: errchk: command succeeded unexpectedly:  6g bugs/bug169.go
+
 =========== fixedbugs/bug016.go
 fixedbugs/bug016.go:7: constant -3 overflows uint