Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for t15 (0.02 sec)

  1. test/fixedbugs/bug336.go

    type T9 T3
    
    type T10 struct {
    	x struct {
    		y ***struct {
    			z *struct {
    				Next *T11
    			}
    		}
    	}
    }
    
    type T11 T10
    
    type T12 struct {
    	F1 *T15
    	F2 *T13
    	F3 *T16
    }
    
    type T13 T14
    type T14 T15
    type T15 T16
    type T16 T17
    type T17 T12
    
    // issue 1672
    type T18 *[10]T19
    type T19 T18
    
    func main() {
    	_ = &T1{&T2{}}
    	_ = &T2{&T2{}}
    	_ = &T3{&T4{}}
    	_ = &T4{&T4{}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.2K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/cycles5.go

    func h() [h /* ERROR "no value" */ ()[0]]int { panic(0) }
    
    var c14 /* ERROR "cycle" */ T14
    type T14 [uintptr(unsafe.Sizeof(&c14))]byte
    
    // issue #34333
    type T15 /* ERROR "invalid recursive type T15" */ struct {
    	f func() T16
    	b T16
    }
    
    type T16 struct {
    	T15
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/unions.go

    // Disallow them for now.
    
    package p
    
    type t int
    
    type (
    	t00 t; t01 t; t02 t; t03 t; t04 t; t05 t; t06 t; t07 t; t08 t; t09 t
    	t10 t; t11 t; t12 t; t13 t; t14 t; t15 t; t16 t; t17 t; t18 t; t19 t
    	t20 t; t21 t; t22 t; t23 t; t24 t; t25 t; t26 t; t27 t; t28 t; t29 t
    	t30 t; t31 t; t32 t; t33 t; t34 t; t35 t; t36 t; t37 t; t38 t; t39 t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. src/internal/types/testdata/fixedbugs/issue52698.go

    	_ C2[P]
    }
    
    type C2[P any] struct {
    	_ P
    }
    
    // test case from issue
    type T23 interface {
    	~struct {
    		Field0 T13[T15]
    	}
    }
    
    type T1[P1 interface {
    }] struct {
    	Field2 P1
    }
    
    type T13[P2 interface {
    }] struct {
    	Field2 T1[P2]
    }
    
    type T15 struct {
    	Field0 T13[string]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 823 bytes
    - Viewed (0)
  5. src/internal/types/testdata/fixedbugs/issue6977.go

            // T11 interface { T10; T10 }
            // T12 interface { T11; T11 }
            // T13 interface { T12; T12 }
            // T14 interface { T13; T13 }
            // T15 interface { T14; T14 }
            // T16 interface { T15; T15 }
            // T17 interface { T16; T16 }
            // T18 interface { T17; T17 }
            // T19 interface { T18; T18 }
    
            // T20 interface { T19; T19 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:04:33 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/cycles5a.go

    func h() [h /* ERROR "no value" */ ()[0]]int { panic(0) }
    
    var c14 /* ERROR "cycle" */ T14
    type T14 [uintptr(unsafe.Sizeof(&c14))]byte
    
    // issue #34333
    type T15 /* ERROR "invalid recursive type T15" */ struct {
    	f func() T16
    	b T16
    }
    
    type T16 struct {
    	T15
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/cycles0.go

    )
    
    // test cases for issue 18643
    // (type cycle detection when non-type expressions are involved)
    type (
    	T14 [len(T14 /* ERROR "invalid recursive type" */ {})]int
    	T15 [][len(T15 /* ERROR "invalid recursive type" */ {})]int
    	T16 map[[len(T16 /* ERROR "invalid recursive type" */ {1:2})]int]int
    	T17 map[int][len(T17 /* ERROR "invalid recursive type" */ {1:2})]int
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/sccp_test.go

    			Valu("t13", OpFloor, c.config.Types.Float64, 0, nil, "v3"),
    			Valu("t14", OpSqrt, c.config.Types.Float64, 0, nil, "t13"),
    			Valu("t15", OpCeil, c.config.Types.Float64, 0, nil, "t14"),
    			Valu("t16", OpTrunc, c.config.Types.Float64, 0, nil, "t15"),
    			Valu("t17", OpRoundToEven, c.config.Types.Float64, 0, nil, "t16"),
    			Valu("t18", OpTrunc64to32, c.config.Types.Int64, 0, nil, "t12"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 21:01:50 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. src/go/internal/gcimporter/testdata/exports.go

    	}
    	T10 struct {
    		T8
    		T9
    		_ *T10
    	}
    	T11 map[int]string
    	T12 any
    	T13 interface {
    		m1()
    		m2(int) float32
    	}
    	T14 interface {
    		T12
    		T13
    		m3(x ...struct{}) []T9
    	}
    	T15 func()
    	T16 func(int)
    	T17 func(x int)
    	T18 func() float32
    	T19 func() (x float32)
    	T20 func(...any)
    	T21 struct{ next *T21 }
    	T22 struct{ link *T23 }
    	T23 struct{ link *T22 }
    	T24 *T24
    	T25 *T26
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  10. src/internal/types/testdata/check/decls1.go

    	t10 *int = &42 /* ERROR "cannot take address" */
    	t11 *complex64 = &v
    	t12 complex64 = -(u + *t11) / *&v
    	t13 int = a /* ERROR "shifted operand" */ << d
    	t14 int = i << j
    	t15 math /* ERROR "math is not a type" */
    	t16 math.xxx /* ERROR "undefined" */
    	t17 math /* ERROR "not a type" */ .Pi
    	t18 float64 = math.Pi * 10.0
    	t19 int = t1 /* ERROR "cannot call" */ ()
    	t20 int = f0 /* ERROR "no value" */ ()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top