repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[AArch64] Default to SEH exception handling on MinGW
[llvm-complete.git]
/
bindings
/
go
/
conftest.go
blob
d97fb89f7c2b6746fcc47b667cee6acc26e88311
1
package
main
2
3
import
(
4
"go/build"
5
"os"
6
)
7
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
)
13
}
14
}
15
os
.
Exit
(
1
)
16
}