Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIssue43921 (0.23 sec)

  1. src/runtime/defer_test.go

    		globstruct.f = f
    		globstruct.g = g
    		globstruct.h = h
    	}(ap, a, b, c, d, e, f, g, h, i)
    	panic("ff1 panic")
    }
    
    func rec1(max int) {
    	if max > 0 {
    		rec1(max - 1)
    	}
    }
    
    func TestIssue43921(t *testing.T) {
    	defer func() {
    		expect(t, 1, recover())
    	}()
    	func() {
    		// Prevent open-coded defers
    		for {
    			defer func() {}()
    			break
    		}
    
    		defer func() {
    			defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:57:24 UTC 2023
    - 11.4K bytes
    - Viewed (0)
Back to top