1 // RUN: %clang_cc1 -fsyntax-only -verify %s
5 void f(int i
= 3); // expected-note{{here}}
6 void g(int i
, int j
= 99);
9 void C::f(int i
= 3) { } // expected-error{{redefinition of default argument}}
11 void C::g(int i
= 88, int j
) { }
29 void X0
<T
>::f(int = 17) { } // expected-error{{cannot be added}}
31 // DR217 + DR205 (reading tea leaves)
33 void X0
<T
>::Inner::g(int = 17) { } // expected-error{{cannot be added}}