github.com/xushiwei/go@v0.0.0-20130601165731-2b9d83f45bc9/test/fixedbugs/bug429.go (about)

     1  // $G $D/$F.go && $L $F.$A && ! ./$A.out || echo BUG: bug429
     2  
     3  // NOTE: This test is not run by 'run.go' and so not run by all.bash.
     4  // To run this test you must use the ./run shell script.
     5  
     6  // Copyright 2012 The Go Authors.  All rights reserved.
     7  // Use of this source code is governed by a BSD-style
     8  // license that can be found in the LICENSE file.
     9  
    10  // Should print deadlock message, not hang.
    11  
    12  package main
    13  
    14  func main() {
    15  	select {}
    16  }