void P (int64 t) { int cc; /* { dg-excess-errors "note: 'cc' was declared here" } */ if (GetC (&cc) <= 0 ) /* return flag checked wrongly */ return; if (t && cc <= 0 ) /* { dg-warning "uninitialized" "uninitialized variable warning" } */ { this->do_sth(); return; } do_sth2(); }
void test3() { do_sth2(F1_wrap()); }
void test2() { do_sth2(F2()); }