Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for GCCGO_ERROR (0.57 sec)

  1. test/fixedbugs/bug039.go

    // errorcheck
    
    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func f (x int) {	// GCCGO_ERROR "previous"
    	var x int;	// ERROR "redecl|redefinition"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 277 bytes
    - Viewed (0)
  2. test/syntax/semi1.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() {
    	if x; y		// ERROR "expected .*{.* after if clause|undefined"
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 09 03:54:47 UTC 2017
    - 301 bytes
    - Viewed (0)
  3. test/fixedbugs/issue18092.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    func _() {
    	var ch chan bool
    	select {
    	default:
    	case <-ch { // GCCGO_ERROR "expected colon"
    	}           // GC_ERROR "expected :"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 01 22:37:04 UTC 2022
    - 320 bytes
    - Viewed (0)
  4. test/fixedbugs/issue17328.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	i := 0
    	for ; ; i++) { // ERROR "unexpected \), expecting { after for clause|expected .*{.*|expected .*;.*"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 17:26:06 UTC 2020
    - 355 bytes
    - Viewed (0)
  5. test/fixedbugs/bug13343.go

    // license that can be found in the LICENSE file.
    
    package main
    
    var (
    	a, b = f() // ERROR "initialization cycle|depends upon itself|depend upon each other"
    	c    = b   // GCCGO_ERROR "depends upon itself|depend upon each other"
    )
    
    func f() (int, int) {
    	return c, c
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 410 bytes
    - Viewed (0)
  6. test/fixedbugs/issue13248.go

    // license that can be found in the LICENSE file.
    
    // This program caused an infinite loop with the recursive-descent parser.
    
    package main
    
    func main() {
        foo( // GCCGO_ERROR "undefined name"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 10 18:34:40 UTC 2020
    - 371 bytes
    - Viewed (0)
  7. test/fixedbugs/bug192.go

    // errorcheck
    
    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import "fmt"	// GCCGO_ERROR "previous"
    
    var _ = fmt.Println // avoid imported and not used error
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 21:28:48 UTC 2020
    - 351 bytes
    - Viewed (0)
  8. test/fixedbugs/bug412.go

    // errorcheck
    
    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    type t struct {
    	x int // GCCGO_ERROR "duplicate field name .x."
    	x int // GC_ERROR "duplicate field x|x redeclared"
    }
    
    func f(t *t) int {
    	return t.x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 339 bytes
    - Viewed (0)
  9. test/fixedbugs/issue7525b.go

    // license that can be found in the LICENSE file.
    
    // Issue 7525: self-referential array types.
    
    package main
    
    var y struct { // GC_ERROR "initialization cycle: y refers to itself"
    	d [len(y.d)]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
    - 385 bytes
    - Viewed (0)
  10. test/fixedbugs/issue22904.go

    // Issue 22904: Make sure the compiler emits a proper error message about
    // invalid recursive types rather than crashing.
    
    package p
    
    type a struct{ b } // ERROR "invalid recursive type"
    type b struct{ a } // GCCGO_ERROR "invalid recursive type"
    
    var x interface{}
    
    func f() {
    	x = a{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 17:37:52 UTC 2020
    - 464 bytes
    - Viewed (0)
Back to top