1// { dg-do assemble  }
2// GROUPS passed old-abort
3#include<iostream>
4
5const int keys = 10;
6const int key[keys] = {6, key[1], 2, keys, 1, 7, 6, key[2], key[8]};
7
8void main()  // { dg-error "must return .int" }
9{
10        for(int i = 0; i < keys;) std::cout << key[i++] << " ";
11        std::endl(std::cout);
12}
13