[AArch64] Default to SEH exception handling on MinGW
[llvm-complete.git] / bindings / go / conftest.go
blobd97fb89f7c2b6746fcc47b667cee6acc26e88311
1 package main
3 import (
4 "go/build"
5 "os"
8 // Tests that the Go compiler is at least version 1.2.
9 func main() {
10 for _, tag := range build.Default.ReleaseTags {
11 if tag == "go1.2" {
12 os.Exit(0)
15 os.Exit(1)