1
0
mirror of https://github.com/golang/go synced 2024-11-25 12:47:56 -07:00

compiler crash in string('a', 'b', '\n');

SVN=128253
This commit is contained in:
Rob Pike 2008-07-21 15:41:39 -07:00
parent b78676a49d
commit 820f223af9

12
test/bugs/bug074.go Normal file
View File

@ -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;
}