wgtdkp / wgtcc

A small C11 compiler
MIT License
765 stars 130 forks source link

Core dump again #37

Closed huangguiyang closed 7 years ago

huangguiyang commented 7 years ago
struct S {
    int a:1;
};

void foo() {
    struct S s;
    sizeof(s.a);
}
wgtdkp commented 7 years ago

again, works fine for me, make sure your code is the latest.