Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for T12 (3.56 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/cycles0.go

    	P2 *T10
    )
    
    func (T11) m() {}
    
    type T11 /* ERROR "invalid recursive type: T11 refers to itself" */ struct{ T11 }
    
    type T12 /* ERROR "invalid recursive type: T12 refers to itself" */ struct{ T12 }
    
    func (*T12) m() {}
    
    type (
    	P3 *T13
    	T13 /* ERROR "invalid recursive type" */ T13
    )
    
    // test cases for issue 18643
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/unions.go

    // Check that overlong unions don't bog down type checking.
    // 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
    	t40 t; t41 t; t42 t; t43 t; t44 t; t45 t; t46
    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/go/internal/gcimporter/testdata/exports.go

    	T8  struct{}
    	T9  struct {
    		a    int
    		b, c float32
    		d    []string `go:"tag"`
    	}
    	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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  5. src/internal/types/testdata/fixedbugs/issue6977.go

            //           (see TODO in validtype.go).
            // T10 interface { T9; T9 }
            // 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 }
    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/cycles5.go

    		M(P)
    	}
    
    	M interface {
    		F() P // ERROR "invalid use of type alias"
    	}
    
    	P = interface {
    		I() M
    	}
    )
    
    // issue #8699
    type T12 /* ERROR "invalid recursive type" */ [len(a12)]int
    var a12 = makeArray()
    func makeArray() (res T12) { return }
    
    // issue #20770
    var r = newReader()
    func newReader() r // ERROR "r is not a type"
    
    // variations of the theme of #8699 and #20770
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/sccp_test.go

    			Valu("t9", OpXor64, c.config.Types.Int64, 0, nil, "t8", "v2"),
    			Valu("t10", OpNeg64, c.config.Types.Int64, 0, nil, "t9"),
    			Valu("t11", OpCom64, c.config.Types.Int64, 0, nil, "t10"),
    			Valu("t12", OpNeg64, c.config.Types.Int64, 0, nil, "t11"),
    			Valu("t13", OpFloor, c.config.Types.Float64, 0, nil, "v3"),
    			Valu("t14", OpSqrt, c.config.Types.Float64, 0, nil, "t13"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 21:01:50 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/cycles5a.go

    type (
    	_ interface {
    		M(P)
    	}
    
    	M interface {
    		F() P
    	}
    
    	P = interface {
    		I() M
    	}
    )
    
    // issue #8699
    type T12 /* ERROR "invalid recursive type" */ [len(a12)]int
    var a12 = makeArray()
    func makeArray() (res T12) { return }
    
    // issue #20770
    var r = newReader()
    func newReader() r // ERROR "r is not a type"
    
    // variations of the theme of #8699 and #20770
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/project/inheritance/t12/ProjectInheritanceTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project.inheritance.t12;
    
    import java.io.File;
    import java.util.Map;
    
    import org.apache.maven.model.Plugin;
    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.inheritance.AbstractProjectInheritanceTestCase;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/internal/types/testdata/check/decls1.go

    	t6 byte = array[t1]
    	t7 byte = array[x /* ERROR "must be integer" */]
    	t8 *int = & /* ERRORx `cannot use .* variable declaration` */ a
    	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
    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