Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 121 for caerror (0.16 sec)

  1. 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)
  2. test/fixedbugs/issue4510.dir/f2.go

    // 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
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 246 bytes
    - Viewed (0)
  3. test/fixedbugs/issue20529.go

    // Only tested on amd64 because the test only makes sense
    // on a 64 bit system, and it is platform-agnostic,
    // so testing one suffices.
    
    package p
    
    import "runtime"
    
    func f() { // GC_ERROR "stack frame too large"
    	x := [][]int{1e9: []int{}}
    	runtime.KeepAlive(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 519 bytes
    - Viewed (0)
  4. test/fixedbugs/bug385_32.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 2444
    
    package main
    func main() {
    	var arr [1000200030]int   // GC_ERROR "type .* too large"
    	arr_bkup := arr
    	_ = arr_bkup
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 344 bytes
    - Viewed (0)
  5. test/fixedbugs/issue7525c.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 z struct { // GC_ERROR "initialization cycle: z refers to itself"
    	e [cap(z.e)]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)
  6. src/cmd/cgo/internal/testcshared/testdata/main4.c

    	if (handle == NULL) {
    		fprintf(stderr, "%s\n", dlerror());
    		exit(EXIT_FAILURE);
    	}
    
    	if (verbose) {
    		fprintf(stderr, "calling dlsym\n");
    	}
    
    	// Start some goroutines.
    	fn = (void(*)(void))dlsym(handle, "RunGoroutines");
    	if (fn == NULL) {
    		fprintf(stderr, "%s\n", dlerror());
    		exit(EXIT_FAILURE);
    	}
    
    	if (verbose) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. test/fixedbugs/issue11614.go

    // do not generate panics in Type Stringer.
    // 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)
  10. src/cmd/go/internal/script/engine.go

    		}
    	}
    	return nil
    }
    
    func checkStatus(cmd *command, err error) error {
    	if err == nil {
    		if cmd.want == failure {
    			return cmdError(cmd, ErrUnexpectedSuccess)
    		}
    		return nil
    	}
    
    	if s := (stopError{}); errors.As(err, &s) {
    		// This error originated in the Stop command.
    		// Propagate it as-is.
    		return cmdError(cmd, err)
    	}
    
    	if w := (waitError{}); errors.As(err, &w) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
Back to top