blob: 4d20679e4b1a68d993de18c8c17be880525da6d3 [file] [log] [blame]
// RUN: llgo -o %t %s
// RUN: %t 2>&1 | FileCheck %s
// CHECK: f was called
package main
func f() int {
println("f was called")
return 123
}
func main() {
switch f() {
}
}