Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for fixedbugs (0.12 sec)

  1. test/fixedbugs/issue5963.go

    runtime.goexit()
    	/Users/rsc/g/go/src/pkg/runtime/proc.c:1313
    created by runtime.main
    	/Users/rsc/g/go/src/pkg/runtime/proc.c:165
    
    goroutine 3 [runnable]:
    main.funcĀ·002()
    	/Users/rsc/g/go/test/fixedbugs/issue5963.go:22
    created by main.initĀ·1
    	/Users/rsc/g/go/test/fixedbugs/issue5963.go:24 +0xb9
    exit status 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 929 bytes
    - Viewed (0)
  2. test/fixedbugs/bug016.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	var i int = 100
    	i = i << -3 // ERROR "overflows|negative"
    }
    
    /*
    ixedbugs/bug016.go:7: overflow converting constant to <uint32>UINT32
    fixedbugs/bug016.go:7: illegal types for operand: AS
    	(<int32>INT32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 410 bytes
    - Viewed (0)
  3. test/fixedbugs/bug345.dir/main.go

    	// For example:
    	//
    	// main.go:25: cannot use w (type "/Users/rsc/g/go/test/fixedbugs/bug345.dir/io".Writer) as type "io".Writer in function argument:
    	//	io.Writer does not implement io.Writer (missing Write method)
    	// main.go:27: cannot use &x (type *"io".SectionReader) as type *"/Users/rsc/g/go/test/fixedbugs/bug345.dir/io".SectionReader in function argument
    
    	var w io.Writer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 19 06:26:35 UTC 2021
    - 978 bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. test/fixedbugs/issue18149.go

    // license that can be found in the LICENSE file.
    
    // Verify that //line directives with filenames
    // containing ':' (Windows) are correctly parsed.
    // (For a related issue, see test/fixedbugs/bug305.go)
    
    package main
    
    import (
    	"fmt"
    	"runtime"
    )
    
    func check(file string, line int) {
    	_, f, l, ok := runtime.Caller(1)
    	if !ok {
    		panic("runtime.Caller(1) failed")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 01 22:01:33 UTC 2016
    - 704 bytes
    - Viewed (0)
  8. test/fixedbugs/bug305.go

    // Copyright 2010 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Use //line to set the line number of the next line to 20.
    //line fixedbugs/bug305.go:20
    
    package p
    
    // Introduce an error which should be reported on line 24.
    var a int = "bogus"
    
    // Line 15 of file.
    // 16
    // 17
    // 18
    // 19
    // 20
    // 21
    // 22
    // 23
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 457 bytes
    - Viewed (0)
  9. test/typeparam/issue39755.go

    // compile
    
    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // copied from cmd/compile/internal/types2/testdata/fixedbugs/issue39755.go
    
    package p
    
    func _[T interface{ ~map[string]int }](x T) {
    	_ = x == nil
    }
    
    // simplified test case from issue
    
    type PathParamsConstraint interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 593 bytes
    - Viewed (0)
  10. 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)
Back to top