X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=parsetest%2Fcp_error033.c;h=093c28bc3a4a4475ecdcd21a2017125579e5a996;hb=43298905d2d0a8eabe545794d056bbd7a104b9bf;hp=2b3062b32abe0aa80d7842eebe48d07a5fac1b0e;hpb=aa7633ac0a39b73af704d9eb0d9461a1318269c1;p=cparser diff --git a/parsetest/cp_error033.c b/parsetest/cp_error033.c index 2b3062b..093c28b 100644 --- a/parsetest/cp_error033.c +++ b/parsetest/cp_error033.c @@ -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; }