github.com/llvm-mirror/llgo@v0.0.0-20190322182713-bf6f0a60fce1/test/execution/errors/recover.go (about)

     1  // RUN: llgo -o %t %s
     2  // RUN: %t 2>&1 | FileCheck %s
     3  
     4  // CHECK: (0x0,0x0)
     5  
     6  package main
     7  
     8  func main() {
     9  	err := recover()
    10  	println(err)
    11  }