aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.brendan/crash16.C
blob: 5e6acc8c61c719c5368ce2e0759544d6dff1bbf5 (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-message "7:'Graph" }
}

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