From 940e381b754054cb33412e989388a1e95d47f52a Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 20 Jul 2009 14:15:36 -0700 Subject: [PATCH] triple quote R=ken OCL=31868 CL=31874 --- test/bugs/bug169.go | 10 ++++++++++ test/golden.out | 3 +++ 2 files changed, 13 insertions(+) create mode 100644 test/bugs/bug169.go 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 -- 2.48.1