lang-bootstrap/05/main.c

19 lines
381 B
C
Raw Normal View History

/*
; @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; }
*/
2022-02-09 22:44:27 -05:00
2022-02-10 16:06:17 -05:00
int main(int argc, char **argv) {
2022-02-10 18:09:32 -05:00
return 42;
2022-02-09 22:44:27 -05:00
}