- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestBadSymbol (0.25 sec)
-
src/cmd/cgo/internal/testerrors/badsym_test.go
const goSource = ` package main // #cgo LDFLAGS: TMPDIR/cbad.o TMPDIR/cbad.so // extern int F(); import "C" func main() { println(C.F()) } ` func TestBadSymbol(t *testing.T) { testenv.MustHaveGoBuild(t) testenv.MustHaveCGO(t) dir := t.TempDir() mkdir := func(base string) string { ret := filepath.Join(dir, base) if err := os.Mkdir(ret, 0755); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:31 UTC 2023 - 5.7K bytes - Viewed (0)