- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for fixedbugs (0.42 sec)
-
src/cmd/internal/testdir/testdir_test.go
"typecheck.go", // types2 reports extra error at function call "fixedbugs/bug176.go", // types2 reports all errors (pref: types2) "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)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0) -
test/fixedbugs/issue9862_run.go
// license that can be found in the LICENSE file. // Check for compile or link error. package main import ( "os/exec" "strings" ) func main() { out, err := exec.Command("go", "run", "fixedbugs/issue9862.go").CombinedOutput() outstr := string(out) if err == nil { println("go run issue9862.go succeeded, should have failed\n", outstr) return } if !strings.Contains(outstr, "symbol too large") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 662 bytes - Viewed (0) -
test/fixedbugs/issue33275_run.go
// so we have to run the test as a subprocess. package main import ( "os/exec" "strings" ) func main() { out, _ := exec.Command("go", "run", "fixedbugs/issue33275.go").CombinedOutput() if strings.Contains(string(out), "index out of range") { panic(`go run issue33275.go reported "index out of range"`) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 717 bytes - Viewed (0) -
test/fixedbugs/issue9355.go
// license that can be found in the LICENSE file. package main import ( "fmt" "io/ioutil" "os" "os/exec" "path/filepath" "regexp" ) func main() { err := os.Chdir(filepath.Join("fixedbugs", "issue9355.dir")) check(err) f, err := ioutil.TempFile("", "issue9355-*.o") if err != nil { fmt.Println(err) os.Exit(1) } f.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.3K bytes - Viewed (0) -
test/fixedbugs/issue10607.go
test("external") // The 'cgo' build constraint should imply that a linker is available. } func test(linkmode string) { out, err := exec.Command("go", "run", "-ldflags", "-B=0x12345678 -linkmode="+linkmode, filepath.Join("fixedbugs", "issue10607a.go")).CombinedOutput() if err != nil { fmt.Printf("BUG: linkmode=%s %v\n%s\n", linkmode, err, out) os.Exit(1) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 776 bytes - Viewed (0) -
test/fixedbugs/bug369.go
package main import ( "fmt" "io/ioutil" "os" "os/exec" "path/filepath" ) func main() { err := os.Chdir(filepath.Join(".", "fixedbugs", "bug369.dir")) check(err) tmpDir, err := ioutil.TempDir("", "bug369") check(err) defer os.RemoveAll(tmpDir) tmp := func(name string) string { return filepath.Join(tmpDir, name) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue42018_windows.go
import ( "testing" "unsafe" ) func test42018(t *testing.T) { // Test that Windows handles are marked go:notinheap, by growing the // stack and checking for pointer adjustments. Trick from // test/fixedbugs/issue40954.go. var i int handle := C.HANDLE(unsafe.Pointer(uintptr(unsafe.Pointer(&i)))) recurseHANDLE(100, handle, uintptr(unsafe.Pointer(&i))) hwnd := C.HWND(unsafe.Pointer(uintptr(unsafe.Pointer(&i))))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 1.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/validtype.go
// // // Exit early if we already know t is valid. // // This is purely an optimization but it prevents excessive computation // // times in pathological cases such as testdata/fixedbugs/issue6977.go. // // (Note: The valids map could also be allocated locally, once for each // // validType call.) // if check.valids.lookup(t) != nil { // break // }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 13:22:37 UTC 2024 - 10.2K bytes - Viewed (0) -
src/go/types/validtype.go
// // // Exit early if we already know t is valid. // // This is purely an optimization but it prevents excessive computation // // times in pathological cases such as testdata/fixedbugs/issue6977.go. // // (Note: The valids map could also be allocated locally, once for each // // validType call.) // if check.valids.lookup(t) != nil { // break // }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 10.3K bytes - Viewed (0) -
src/go/types/check_test.go
func TestExamples(t *testing.T) { testDirFiles(t, "../../internal/types/testdata/examples", false) } func TestFixedbugs(t *testing.T) { testDirFiles(t, "../../internal/types/testdata/fixedbugs", false) } func TestLocal(t *testing.T) { testDirFiles(t, "testdata/local", false) } func testDirFiles(t *testing.T, dir string, manual bool) { testenv.MustHaveGoBuild(t) dir = filepath.FromSlash(dir)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 14.1K bytes - Viewed (0)