summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/redecl4.C
blob: e3355dafc4100660a24454af94def933062c48d1 (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }
int main() {
  struct A {
    void f();			// { dg-error "with" } already declared
    void f();			// { dg-error "overloaded" } already declared
  };
}