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