Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for GCCGO_ERROR (0.48 sec)

  1. test/fixedbugs/issue7525.go

    // Issue 7525: self-referential array types.
    
    package main
    
    import "unsafe"
    
    var x struct { // GC_ERROR "initialization cycle: x refers to itself"
    	a [unsafe.Sizeof(x.a)]int // GCCGO_ERROR "array bound|typechecking loop|invalid expression"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 14:21:33 UTC 2022
    - 417 bytes
    - Viewed (0)
  2. test/fixedbugs/issue7525d.go

    // Issue 7525: self-referential array types.
    
    package main
    
    import "unsafe"
    
    var x struct { // GC_ERROR "initialization cycle: x refers to itself"
    	b [unsafe.Offsetof(x.b)]int // GCCGO_ERROR "array bound|typechecking loop|invalid array"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 14:21:33 UTC 2022
    - 414 bytes
    - Viewed (0)
  3. test/fixedbugs/issue7525e.go

    // Issue 7525: self-referential array types.
    
    package main
    
    import "unsafe"
    
    var x struct { // GC_ERROR "initialization cycle: x refers to itself"
    	c [unsafe.Alignof(x.c)]int // GCCGO_ERROR "array bound|typechecking loop|invalid array"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 14:21:33 UTC 2022
    - 413 bytes
    - Viewed (0)
  4. test/fixedbugs/bug344.go

    	// invalid use of goto.
    	// do whatever you like, just don't crash.
    	i := 42
    	a := []*int{&i, &i, &i, &i}
    	x := a[0]
    	goto start  // ERROR "jumps into block"
    	z := 1
    	_ = z
    	for _, x = range a {	// GCCGO_ERROR "block"
    	start:
    		fmt.Sprint(*x)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 466 bytes
    - Viewed (0)
  5. test/fixedbugs/bug388.go

    // Issue 2231
    
    package main
    import "runtime"
    
    func foo(runtime.UintType, i int) {  // ERROR "cannot declare name runtime.UintType|mixed named and unnamed|undefined identifier"
    	println(i, runtime.UintType) // GCCGO_ERROR "undefined identifier"
    }
    
    func qux() {
    	var main.i	// ERROR "unexpected [.]|expected type"
    	println(main.i)
    }
    
    func corge() {
    	var foo.i int  // ERROR "unexpected [.]|expected type"
    	println(foo.i)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 636 bytes
    - Viewed (0)
  6. test/label.go

    	select {}
    L3: // ERROR "label .*L3.* defined and not used"
    	switch {
    	}
    L4: // ERROR "label .*L4.* defined and not used"
    	if true {
    	}
    L5: // ERROR "label .*L5.* defined and not used"
    	f()
    L6: // GCCGO_ERROR "previous"
    	f()
    L6: // ERROR "label .*L6.* already defined"
    	f()
    	if x == 20 {
    		goto L6
    	}
    
    L7:
    	for {
    		break L7
    	}
    
    L8:
    	for {
    		if x == 21 {
    			continue L8
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 28 02:31:54 UTC 2020
    - 1K bytes
    - Viewed (0)
  7. test/alias2.go

    type (
    	A0 = T0
    	A1 = int
    	A2 = struct{}
    	A3 = reflect.Value
    	A4 = Value
    	A5 = Value
    
    	N0 A0
    )
    
    // Methods can be declared on the original named type and the alias.
    func (T0) m1()  {} // GCCGO_ERROR "previous"
    func (*T0) m1() {} // ERROR "method redeclared: T0\.m1|T0\.m1 already declared|redefinition of .m1."
    func (A0) m1()  {} // ERROR "T0\.m1 already declared|redefinition of .m1."
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:09:14 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. test/fixedbugs/issue7746.go

    	c4   = c3 * c3
    	c5   = c4 * c4
    	c6   = c5 * c5
    	c7   = c6 * c6
    	c8   = c7 * c7
    	c9   = c8 * c8
    	c10  = c9 * c9
    	c11  = c10 * c10
    	c12  = c11 * c11
    	c13  = c12 * c12
    	c14  = c13 * c13 // GCCGO_ERROR "overflow"
    	c15  = c14 * c14
    	c16  = c15 * c15
    	c17  = c16 * c16
    	c18  = c17 * c17
    	c19  = c18 * c18
    	c20  = c19 * c19
    	c21  = c20 * c20
    	c22  = c21 * c21
    	c23  = c22 * c22
    	c24  = c23 * c23
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 15 02:35:59 UTC 2020
    - 2.4K bytes
    - Viewed (0)
Back to top