summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/crash16.C
blob: 674fc4fa6791eca5071d2916b45a8039d82775c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do compile }
// { dg-options "-fshow-column" }
// GROUPS passed old-abort

class Graph { // { dg-error "1:new types|1: note: \\(perhaps" }
public:
      unsigned         char N;
      Graph(void) {} // { dg-error "7:'Graph" }
}

Graph::Graph(void) // { dg-error "18:return type|1: error: redefinition" }
{    N = 10;
}