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
Merge from mainline (gomp-merge-2005-02-26).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
crash16.C
blob
8fec8d1132fa7d78272104da91a0cfaa83bd8909
1
// { dg-do compile }
2
// GROUPS passed old-abort
3
class Graph {
4
public:
5
unsigned char N;
6
Graph(void) {}; // { dg-error "previously defined here" }
7
}
8
9
Graph::Graph(void) // { dg-error "return type|redefinition|semicolon" }
10
{ N = 10;
11
}
12