Source file test/fixedbugs/bug448.dir/pkg1.go

     1  // Copyright 2012 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package pkg1
     6  
     7  var x = make(chan interface{})
     8  
     9  func Do() int {
    10  	return (<-x).(int)
    11  }
    12  

View as plain text