Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for GC_ERROR (0.1 sec)

  1. test/fixedbugs/issue11361.go

    // errorcheck
    
    // Copyright 2016 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 a
    
    import "fmt"  // GC_ERROR "imported and not used"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 351 bytes
    - Viewed (0)
  2. test/fixedbugs/bug412.go

    // 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)
  3. test/fixedbugs/issue7525b.go

    // Use of this source code is governed by a BSD-style
    // 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)
  4. test/fixedbugs/issue22200.go

    // license that can be found in the LICENSE file.
    
    package p
    
    func f1(x *[1<<30 - 1e6]byte) byte {
    	for _, b := range *x {
    		return b
    	}
    	return 0
    }
    func f2(x *[1<<30 + 1e6]byte) byte { // GC_ERROR "stack frame too large"
    	for _, b := range *x {
    		return b
    	}
    	return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 17:37:52 UTC 2020
    - 396 bytes
    - Viewed (0)
  5. test/fixedbugs/issue20780.go

    // license that can be found in the LICENSE file.
    
    // We have a limit of 1GB for stack frames.
    // Make sure we include the callee args section.
    
    package main
    
    type Big = [400e6]byte
    
    func f() { // GC_ERROR "stack frame too large"
    	// Note: This test relies on the fact that we currently always
    	// spill function-results to the stack, even if they're so
    	// large that we would normally heap allocate them. If we ever
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jan 10 08:01:49 UTC 2021
    - 755 bytes
    - Viewed (0)
  6. test/fixedbugs/issue11614.go

    // Does not compile.
    
    package main
    
    type I interface {
    	int // ERROR "interface contains embedded non-interface|embedding non-interface type int requires"
    }
    
    func n() {
    	(I) // GC_ERROR "is not an expression"
    }
    
    func m() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 753 bytes
    - Viewed (0)
  7. test/fixedbugs/issue11362.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 11362: prints empty canonical import path
    
    package main
    
    import _ "unicode//utf8" // GC_ERROR "non-canonical import path .unicode//utf8. \(should be .unicode/utf8.\)"
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 12 02:16:50 UTC 2021
    - 368 bytes
    - Viewed (0)
  8. test/fixedbugs/issue14520.go

    // errorcheck
    
    // Copyright 2016 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 f
    
    func f(x int /* // GC_ERROR "unexpected newline"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 294 bytes
    - Viewed (0)
  9. test/fixedbugs/issue23823.go

    // license that can be found in the LICENSE file.
    
    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)
  10. test/fixedbugs/issue18092.go

    // 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)
Back to top