Message ID | or7dljvvm1.fsf@lxoliva.fsfla.org |
---|---|
State | New |
Headers | show |
Series | initialize pr94314-3.C counter | expand |
diff --git a/gcc/testsuite/g++.dg/pr94314-3.C b/gcc/testsuite/g++.dg/pr94314-3.C index 846a5d6a3d81e..316041824c832 100644 --- a/gcc/testsuite/g++.dg/pr94314-3.C +++ b/gcc/testsuite/g++.dg/pr94314-3.C @@ -38,7 +38,7 @@ volatile int c = 1; int main () { - for (int i; i < c; i++) + for (int i = 0; i < c; i++) { idx = 0; delete new B;