aboutsummaryrefslogtreecommitdiff
path: root/tests/issues/test_issue_5097-2.odin
blob: 1e4ad59c96ceb18ca37f4c4cb2ede1333ce58abb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Tests another variation of, this should compile #5097 https://github.com/odin-lang/Odin/issues/5097
package test_issues

Face      :: ^FaceRec
GlyphSlot :: ^GlyphSlotRec
Size      :: ^SizeRec

SizeRec :: struct {
    face: Face,
}

GlyphSlotRec :: struct {
    face: Face,
}

FaceRec :: struct {
    glyph: GlyphSlot,
    size:  Size,
}

main :: proc() {
    face: Face
	_ = face
}