fix testapp
authorMatthias Braun <matze@braunis.de>
Thu, 21 Jun 2007 16:41:23 +0000 (16:41 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 21 Jun 2007 16:41:23 +0000 (16:41 +0000)
[r14700]

ir/be/test/vla.c

index dcb762c..5c30c97 100644 (file)
@@ -5,7 +5,8 @@
 void f(int x)
 {
        int a[x];
-       for (int i = 0; i < x; ++i) {
+       int i;
+       for (i = 0; i < x; ++i) {
                a[i] = rand();
        }
 }