mirror of
https://github.com/golang/go
synced 2024-11-13 19:00:25 -07:00
6ede93498c
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/39780043
17 lines
397 B
Bash
Executable File
17 lines
397 B
Bash
Executable File
# Copyright 2013 The Go Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style
|
|
# license that can be found in the LICENSE file.
|
|
|
|
# Just add issue file prefixes to this list if more issues come up
|
|
FILE_PREFIXES="cdefstest"
|
|
|
|
for FP in $FILE_PREFIXES
|
|
do
|
|
go tool cgo -cdefs ${FP}.go > ${FP}.h
|
|
done
|
|
|
|
go build . && ./testcdefs
|
|
EXIT=$?
|
|
rm -rf _obj testcdefs *.h
|
|
exit $EXIT
|