Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIssue37688 (0.17 sec)

  1. src/runtime/defer_test.go

    // mistakenly held, and that struct keeps a pointer to a stack-allocated defer
    // struct, and that stack-allocated struct gets overwritten or the stack gets
    // moved, so a memory error happens on GC.
    func TestIssue37688(t *testing.T) {
    	for j := 0; j < 10; j++ {
    		g2()
    		g3()
    	}
    }
    
    type foo struct {
    }
    
    //go:noinline
    func (f *foo) method1() {
    }
    
    //go:noinline
    func (f *foo) method2() {
    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