repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
crash49.C
blob
e0664da28dd808ac563ad73101e85395ab35ba9a
1
// { dg-do assemble }
2
// GROUPS passed old-abort
3
#include<iostream>
4
5
const int keys = 10;
6
const int key[keys] = {6, key[1], 2, keys, 1, 7, 6, key[2], key[8]};
7
8
void main() // { dg-error "must return .int" }
9
{
10
for(int i = 0; i < keys;) std::cout << key[i++] << " ";
11
std::endl(std::cout);
12
}