Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for GCCGO_ERROR (0.14 sec)

  1. test/goto.go

    	if true {
    	} else { // GCCGO_ERROR "block starts here"
    	L:
    	}
    }
    
    func _() {
    	if false { // GCCGO_ERROR "block starts here"
    	L:
    	} else {
    		goto L // ERROR "goto L jumps into block starting at LINE-3|goto jumps into block"
    	}
    }
    
    func _() {
    	if true {
    		goto L // ERROR "goto L jumps into block starting at LINE+1|goto jumps into block"
    	} else { // GCCGO_ERROR "block starts here"
    	L:
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 02:27:58 UTC 2017
    - 8.4K bytes
    - Viewed (0)
  2. test/fixedbugs/issue41575.go

    	f2 T2
    }
    
    type T2 struct { // GCCGO_ERROR "invalid recursive type"
    	f1 T1
    }
    
    type a b // GCCGO_ERROR "invalid recursive type"
    type b c // ERROR "invalid recursive type b\n\tLINE: b refers to\n\tLINE+1: c refers to\n\tLINE: b$|invalid recursive type"
    type c b // GCCGO_ERROR "invalid recursive type"
    
    type d e
    type e f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 15 02:35:59 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  3. test/method1.go

    type T struct{}
    
    func (t *T) M(int, string)  // GCCGO_ERROR "previous"
    func (t *T) M(int, float64) {} // ERROR "already declared|redefinition"
    
    func (t T) H()  // GCCGO_ERROR "previous"
    func (t *T) H() {} // ERROR "already declared|redefinition"
    
    func f(int, string)  // GCCGO_ERROR "previous"
    func f(int, float64) {} // ERROR "redeclared|redefinition"
    
    func g(a int, b string) // GCCGO_ERROR "previous"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 21:59:19 UTC 2022
    - 739 bytes
    - Viewed (0)
  4. test/fixedbugs/bug195.go

    type S struct { // GC_ERROR "invalid recursive type"
    	x interface{ S } // GCCGO_ERROR "interface"
    }
    type I4 interface { // GC_ERROR "invalid recursive type: I4 refers to itself"
    	I4 // GCCGO_ERROR "interface"
    }
    
    type I5 interface { // GC_ERROR "invalid recursive type I5\n\tLINE:.* I5 refers to\n\tLINE+4:.* I6 refers to\n\tLINE:.* I5$"
    	I6
    }
    
    type I6 interface {
    	I5 // GCCGO_ERROR "interface"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 14:21:33 UTC 2022
    - 704 bytes
    - Viewed (0)
  5. test/fixedbugs/issue23732.go

    	C interface{}
    	Bar
    }
    
    type Bar struct {
    	A string
    }
    
    func main() {
    	_ = Foo{ // GCCGO_ERROR "too few expressions"
    		1,
    		2,
    		3,
    	} // GC_ERROR "too few values in"
    
    	_ = Foo{
    		1,
    		2,
    		3,
    		Bar{"A", "B"}, // ERROR "too many values in|too many expressions"
    	}
    
    	_ = Foo{ // GCCGO_ERROR "too few expressions"
    		1,
    		2,
    		Bar{"A", "B"}, // ERROR "too many values in|too many expressions"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 749 bytes
    - Viewed (0)
  6. test/syntax/semi4.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	for x		// GCCGO_ERROR "undefined"
    	{		// ERROR "unexpected {, expected for loop condition|expecting .*{.* after for clause"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 01 22:37:04 UTC 2022
    - 359 bytes
    - Viewed (0)
  7. test/fixedbugs/bug350.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    type T int
    
    func (T) m() {} // GCCGO_ERROR "previous"
    func (T) m() {} // ERROR "T\.m already declared|redefinition"
    
    func (*T) p() {} // GCCGO_ERROR "previous"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 21:59:19 UTC 2022
    - 412 bytes
    - Viewed (0)
  8. test/fixedbugs/issue33386.go

    package p
    
    func _() {
    	go func() {     // no error here about goroutine
    		send <- // GCCGO_ERROR "undefined name"
    	}()             // ERROR "expected expression|expected operand"
    }
    
    func _() {
    	defer func() { // no error here about deferred function
    		1 +    // GCCGO_ERROR "value computed is not used"
    	}()            // ERROR "expected expression|expected operand"
    }
    
    func _() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 01 22:37:04 UTC 2022
    - 953 bytes
    - Viewed (0)
  9. test/fixedbugs/issue19667.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure we don't crash when reporting this error.
    
    package p
    
    func f() {
    	if err := http.ListenAndServe( // GCCGO_ERROR "undefined name"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 01 22:37:04 UTC 2022
    - 420 bytes
    - Viewed (0)
  10. test/fixedbugs/issue23823.go

    package p
    
    type I1 = interface {
    	I2
    }
    
    // BAD: type loop should mention I1; see also #41669
    type I2 interface { // GC_ERROR "invalid recursive type: I2 refers to itself"
    	I1 // GCCGO_ERROR "invalid recursive interface"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 14:21:33 UTC 2022
    - 397 bytes
    - Viewed (0)
Back to top