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:
parent
b78676a49d
commit
820f223af9
12
test/bugs/bug074.go
Normal file
12
test/bugs/bug074.go
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user