add main, fix warnings not intended
[cparser] / parsetest / constexpr2.c
index 7633e0a..35a66a6 100644 (file)
@@ -2,7 +2,7 @@ struct foo {
        int a;
        int b;
 };
-int glob = (int) &((struct foo*)0)->b;
+struct foo bar = { (int) &((struct foo*)0)->b, 0 };
 
 int main(void) {
        return 0;