one more error
[cparser] / parsetest / cp_error033.c
index 2b3062b..093c28b 100644 (file)
@@ -8,11 +8,11 @@ static struct A deduce_conversion(int from, int to)
        return result;
 }
 
-struct A globa[4];
-int x = 1;
+struct A globa_real;
+struct A *globa = &globa_real;
 
 int main(int argc, char **argv)
 {
-       globa[x] = deduce_conversion(1, 2);
+       *globa = deduce_conversion(1, 2);
        return 0;
 }