diff options
Diffstat (limited to 'bootstrap/cgen.c')
| -rw-r--r-- | bootstrap/cgen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap/cgen.c b/bootstrap/cgen.c index 2d83044..0bd8bcb 100644 --- a/bootstrap/cgen.c +++ b/bootstrap/cgen.c @@ -624,6 +624,8 @@ defctype(const struct type *ty, void *_) { pri("_Static_assert(sizeof(%s) == %U);\n", *cname, (u64)ty->size); pri("_Static_assert(__alignof__(%s) == %U);\n", *cname, (u64)ty->align); } + for (int i = 0; i < ty->agg.decls.n; ++i) + liftdecl(&ty->agg.decls.d[i]); break; case TYeunion: break; |