lang-bootstrap/05/main.c
pommicket d74dc53b0b more parsing tests, fixed more bugs
- we now handle incomplete structs properly
- small fix in for loop printing
2022-02-09 15:50:02 -05:00

16 lines
371 B
C

#include "tests/parse_stb_truetype.h"
/*
; @NONSTANDARD:
; the following does not work:
; typedef struct T Type;
; struct T{
; int m;
; };
; ...
; Type *x = ...;
; x->m; *trying to access member of incomplete struct
This needs to be fixed because otherwise you can't do:
struct A { struct B *blah; }
struct B { struct A *blah; }
*/