Files
clang-p2996/llgo/test/execution/literals/func.go
Peter Collingbourne ad9841e8ac Initial commit of llgo.
llvm-svn: 222857
2014-11-27 00:06:42 +00:00

16 lines
177 B
Go

// RUN: llgo -o %t %s
// RUN: %t 2>&1 | FileCheck %s
// CHECK: true
// CHECK-NEXT: false
package main
func main() {
f := func(x bool) {
println(x)
}
f(true)
f(false)
}