Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for iA3 (0.01 sec)

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

    	// we believe an integer that is too large is not an integer.
    	// But at least we get an error.
    	iA1 [1 /* ERROR "invalid array length" */ <<100]int
    	iA2 [- /* ERROR "invalid array length" */ 1]complex128
    	iA3 ["foo" /* ERROR "must be integer" */ ]string
    	iA4 [float64 /* ERROR "must be integer" */ (0)]int
    )
    
    
    type (
    	p1 pi.foo /* ERROR "pi.foo is not a type" */
    	p2 unsafe.Pointer
    )
    
    
    type (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/os/os_windows_test.go

    	}
    	if !os.SameFile(ia1, ia2) {
    		t.Errorf("files should be same")
    	}
    
    	p := filepath.VolumeName(path) + filepath.Base(path)
    	if err != nil {
    		t.Fatal(err)
    	}
    	ia3, err := os.Stat(p)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !os.SameFile(ia1, ia3) {
    		t.Errorf("files should be same")
    	}
    }
    
    type dirLinkTest struct {
    	name         string
    	mklink       func(link, target string) error
    	isMountPoint bool
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top