Commit 3c5dbb03 authored by Robert Griesemer's avatar Robert Griesemer

bug218.go: testcase for issue 238

R=rsc
https://golang.org/cl/154172
parent 597b2a91
// $G $D/$F.go || echo BUG: bug218
// 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.
// Crashes 6g, 8g
// http://code.google.com/p/go/issues/detail?id=238
package main
func main() {
bar := make(chan bool);
select {
case _ = <-bar:
return
}
}
/*
6g bug218.go
<epoch>: fatal error: dowidth: unknown type: blank
*/
......@@ -141,3 +141,7 @@ throw: interface conversion
panic PC=xxx
== bugs/
=========== bugs/bug218.go
<epoch>: fatal error: dowidth: unknown type: blank
BUG: bug218
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment