triple quote

R=ken
OCL=31868
CL=31874
This commit is contained in:
Russ Cox 2009-07-20 14:15:36 -07:00
parent 3913550110
commit 940e381b75
2 changed files with 13 additions and 0 deletions

10
test/bugs/bug169.go Normal file
View file

@ -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"

View 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