Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for I12 (0.21 sec)

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

    var _ = f012[float64 /* ERRORx `cannot satisfy I012.*empty type set` */ ]
    
    type I12 interface {
    	E1
    	E2
    }
    
    func f12[T I12]() {}
    var _ = f12[int /* ERROR "does not satisfy I12" */ ]
    var _ = f12[bool /* ERROR "does not satisfy I12" */ ]
    var _ = f12[string /* ERROR "does not satisfy I12" */ ]
    var _ = f12[float64]
    
    type I0_ interface {
    	E0
    	~int
    }
    
    func f0_[T I0_]() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/expr0.go

    	// int
    	i0 = 1
    	i1 int = i0
    	i2 = +1
    	i3 = +i0
    	i4 int = +1
    	i5 int = +i4
    	i6 = -1
    	i7 = -i0
    	i8 int = -1
    	i9 int = -i4
    	i10 = !i0 /* ERROR "not defined" */
    	i11 = ^1
    	i12 = ^i0
    	i13 int = ^1
    	i14 int = ^i4
    	i15 = *i0 /* ERROR "cannot indirect" */
    	i16 = &i0
    	i17 = *i16
    	i18 = <-i16 /* ERROR "cannot receive" */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top