aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/crash16.C
blob: 5030b297ae0d62ec1811a117e62b8f271da18bd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Build don't link: 
// GROUPS passed old-abort
class Graph {
public:
      unsigned         char N;
      Graph(void) {}; // ERROR - previously defined here
}

Graph::Graph(void)
{    N = 10;// ERROR -  return type.*
}