From: Russ Cox Date: Mon, 20 Jul 2009 21:15:36 +0000 (-0700) Subject: triple quote X-Git-Tag: weekly.2009-11-06~1093 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=940e381b754054cb33412e989388a1e95d47f52a;p=gostls13.git triple quote R=ken OCL=31868 CL=31874 --- diff --git a/test/bugs/bug169.go b/test/bugs/bug169.go new file mode 100644 index 0000000000..c42727f389 --- /dev/null +++ b/test/bugs/bug169.go @@ -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" + + diff --git a/test/golden.out b/test/golden.out index 0b6be94937..e232ffb88d 100644 --- a/test/golden.out +++ b/test/golden.out @@ -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