summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/warn/pedantic2.C
blob: 6c834162c1b63598098978495b78b0625f937272 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-options "-pedantic" }

class foo
{
  foo() {};
  void bar() {};

  foo(int) {};;  // { dg-warning "extra" }
  void bar(int) {};;  // { dg-warning "extra" }
};