Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git] / gcc / testsuite / g++.dg / parse / defarg11.C
blob60199c2e20c9af3784bd71653fcb9eb6c57492dc
1 // { dg-do compile }
2 // { dg-options "-pedantic" }
4 class foo {
5 public:
6   void operator& (int = 1);  // { dg-error "default argument" }
7   void operator++ (int = 2); // { dg-warning "default argument" }
8   void operator-- (int = 3); // { dg-warning "default argument" }
9 };