Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testNotEmbedded (0.1 sec)

  1. test/sizeof.go

    		panic("unsafe.Offsetof(t2.U2.C) != 4")
    	}
    	if unsafe.Offsetof(p2.U2.C) != 4 {
    		println(unsafe.Offsetof(p2.U2.C), "!= 4")
    		panic("unsafe.Offsetof(p2.U2.C) != 4")
    	}
    	testDeep()
    	testNotEmbedded()
    }
    
    type (
    	S1 struct {
    		A int64
    		S2
    	}
    	S2 struct {
    		B int64
    		S3
    	}
    	S3 struct {
    		C int64
    		S4
    	}
    	S4 struct {
    		D int64
    		S5
    	}
    	S5 struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.9K bytes
    - Viewed (0)
Back to top