Side by Side Diff: misc/cgo/test/backdoor/backdoor.go
Issue 149720043 :
code review 149720043: cmd/go: prohibit C sources files unless using cgo (Closed)
Patch Set: diff -r 2f66d595a9ec50db3bf4fe871c6a25a5fff21df3 https://code.google.com/p/go/
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
misc/cgo/test/backdoor/backdoor.go
misc/cgo/test/backdoor/backdoor_gccgo.go
misc/cgo/test/backdoor/runtime.c
misc/cgo/test/issue7695_test.go
src/cmd/go/pkg.go
src/cmd/go/test.bash
src/cmd/go/testdata/src/badc/x.c
src/cmd/go/testdata/src/badc/x.go
src/net/empty.s
src/runtime/debug/debug.s
OLD NEW
1 // Copyright 2012 The Go Authors. All rights reserved. 1 // Copyright 2012 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 package backdoor 5 package backdoor
6 6
7 func LockedOSThread() bool // in runtime.c 7 func LockedOSThread() bool // in thunk.s
8 func Issue7695(x1, x2, x3, x4, x5, x6, x7, x8 uintptr)
OLD NEW