struct ContainsRef {
	a &int = unsafe { nil }
	b &int
}

type TypeForContainsRef = ContainsRef

struct Outer {
	c1 ContainsRef
	c2 TypeForContainsRef
}

struct Ref {}

struct EmbedStruct {
	ref1 &Ref = unsafe { nil }
	ref2 &Ref
}

struct Struct {
	EmbedStruct
}

fn main() {
	_ := Outer{}
	_ := Struct{}
}
