From: Rob Pike Date: Mon, 21 Jul 2008 22:41:39 +0000 (-0700) Subject: compiler crash in string('a', 'b', '\n'); X-Git-Tag: weekly.2009-11-06~3450 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=820f223af94eee100877b362aa0a7f8cd5f25841;p=gostls13.git compiler crash in string('a', 'b', '\n'); SVN=128253 --- diff --git a/test/bugs/bug074.go b/test/bugs/bug074.go new file mode 100644 index 0000000000..947001cd42 --- /dev/null +++ b/test/bugs/bug074.go @@ -0,0 +1,12 @@ +// 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 + +func main() { + x := string('a', 'b', '\n'); + print x; +}