- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for issue7035 (0.55 sec)
-
src/internal/types/testdata/check/issues0.go
// license that can be found in the LICENSE file. package p // don't permit non-interface elements in interfaces import ( "fmt" syn "regexp/syntax" t1 "text/template" t2 "html/template" ) func issue7035() { type T struct{ X int } _ = func() { fmt.Println() // must refer to imported fmt rather than the fmt below } fmt := new(T) _ = fmt.X } func issue8066() { const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 05 18:13:11 UTC 2024 - 11.6K bytes - Viewed (0) -
src/go/internal/gcimporter/gcimporter_test.go
// This package only handles gc export data. if runtime.Compiler != "gc" { t.Skipf("gc-built packages not available (compiler = %s)", runtime.Compiler) } compileAndImportPkg(t, "issue57015") } func importPkg(t *testing.T, path, srcDir string) *types.Package { fset := token.NewFileSet() pkg, err := Import(fset, make(map[string]*types.Package), path, srcDir, nil) if err != nil { t.Helper()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 21.9K bytes - Viewed (0) -
src/syscall/syscall_linux_test.go
// that mirror to the 9 glibc syscalls with POSIX semantics. The test // here is considered authoritative and should compile and run // CGO_ENABLED=0 or 1. Note, there is an extended copy of this same // test in ../../misc/cgo/test/issue1435.go which requires // CGO_ENABLED=1 and launches pthreads from C that run concurrently // with the Go code of the test - and the test validates that these // pthreads are also kept in sync with the security state changed with
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
"fixedbugs/bug195.go", // types2 reports slight different errors, and an extra error "fixedbugs/bug412.go", // types2 produces a follow-on error "fixedbugs/issue11614.go", // types2 reports an extra error "fixedbugs/issue17038.go", // types2 doesn't report a follow-on error (pref: types2) "fixedbugs/issue23732.go", // types2 reports different (but ok) line numbers "fixedbugs/issue4510.go", // types2 reports different (but ok) line numbers
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0) -
src/cmd/cgo/internal/test/test.go
ch := make(chan int) for i := 0; i < 42; i++ { h := cgo.NewHandle(ch) go func() { C.cFunc37033(C.uintptr_t(h)) }() if v := <-ch; issue37033 != v { t.Fatalf("unexpected receiving value: got %d, want %d", v, issue37033) } h.Delete() } } // issue 38649 var issue38649 C.netbsd_gid = 42 // issue 39877 var issue39877 *C.void = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0)