commit | 820f223af94eee100877b362aa0a7f8cd5f25841 | [log] [tgz] |
---|---|---|
author | Rob Pike <r@golang.org> | Mon Jul 21 15:41:39 2008 -0700 |
committer | Rob Pike <r@golang.org> | Mon Jul 21 15:41:39 2008 -0700 |
tree | 3d5fdfca14625ba025b8e17a7205d9f50d232132 | |
parent | b78676a49d77f6bde1c54bc4a6389120e5a8c391 [diff] |
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 0000000..947001c --- /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; +}