Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for issue10260 (0.15 sec)

  1. src/internal/types/testdata/check/issues0.go

    // issue10260
    // Check that error messages explain reason for interface assignment failures.
    type (
    	I0 interface{}
    	I1 interface{ foo() }
    	I2 interface{ foo(x int) }
    	T0 struct{}
    	T1 struct{}
    	T2 struct{}
    )
    
    func (*T1) foo() {}
    func (*T2) foo(x int) {}
    
    func issue10260() {
    	var (
    		i0 I0
    		i1 I1
    		i2 I2
    		t0 *T0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue9026/issue9026.go

    	//
    	// Brittle: the assertion may fail spuriously when the algorithm
    	// changes, but should remain stable otherwise.
    	got := fmt.Sprintf("%T %T", in, opts)
    	want := "issue9026._Ctype_struct___0 *issue9026._Ctype_struct___1"
    	if got != want {
    		t.Errorf("Non-deterministic type names: got %s, want %s", got, want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue20266.go

    // license that can be found in the LICENSE file.
    
    // Issue 20266: use -I with a relative path.
    
    package cgotest
    
    /*
    #cgo CFLAGS: -I issue20266 -Iissue20266 -Ddef20266
    #include "issue20266.h"
    */
    import "C"
    
    import "testing"
    
    func test20266(t *testing.T) {
    	if got, want := C.issue20266, 20266; got != want {
    		t.Errorf("got %d, want %d", got, want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 463 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue9026.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    package cgotest
    
    import (
    	"testing"
    
    	"cmd/cgo/internal/test/issue9026"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 302 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue20266/issue20266.h

    // Copyright 2017 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.
    
    #define issue20266 20266
    
    #ifndef def20266
    #error "expected def20266 to be defined"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 251 bytes
    - Viewed (0)
  6. test/fixedbugs/issue13268.go

    // errorcheckoutput mechanism.
    
    package main
    
    import (
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"strings"
    )
    
    func main() {
    	// create source
    	f, err := ioutil.TempFile("", "issue13268-")
    	if err != nil {
    		log.Fatalf("could not create source file: %v", err)
    	}
    	f.Write([]byte("package p\n\nfunc \xef\xef")) // if this fails, we will die later
    	f.Close()
    	defer os.Remove(f.Name())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 984 bytes
    - Viewed (0)
  7. test/fixedbugs/issue13265.go

    Dmitri Shuralyov <******@****.***> 1697569678 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 438 bytes
    - Viewed (0)
  8. test/fixedbugs/issue10284.go

    Emmanuel Odeke <******@****.***> 1460323946 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 385 bytes
    - Viewed (0)
  9. test/fixedbugs/issue10320.go

    Emmanuel Odeke <******@****.***> 1460323946 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 889 bytes
    - Viewed (0)
  10. test/fixedbugs/issue17270.go

    Matthew Dempsky <******@****.***> 1475100240 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 23:13:53 UTC 2016
    - 229 bytes
    - Viewed (0)
Back to top