Fortran: Fix regression caused by r14-10477 [PR59104]
[official-gcc.git] / libgo / go / net / main_noconf_test.go
blobab050fac2b4ec04aad5b38be65d88a96fa1b1fb0
1 // Copyright 2015 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 //go:build (js && wasm) || plan9 || windows
7 package net
9 import "runtime"
11 // See main_conf_test.go for what these (don't) do.
12 func forceGoDNS() func() {
13 switch runtime.GOOS {
14 case "plan9", "windows":
15 return func() {}
16 default:
17 return nil
21 // See main_conf_test.go for what these (don't) do.
22 func forceCgoDNS() func() { return nil }