summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/redecl2.C
blob: 0d6ccf669f00f9c013b12642c8aab35a4090910d (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }

struct S {
  S(int); // { dg-error "with" }
  S(int); // { dg-error "overloaded" } already declared

  ~S();// { dg-error "with" }
  ~S(); // { dg-error "overloaded" } already declared
};