Home | History | Annotate | Download | only in dcl.fct.default

Lines Matching full:void

3 void f0(int i, int j, int k = 3);
4 void f0(int i, int j, int k);
5 void f0(int i, int j = 2, int k);
6 void f0(int i, int j, int k);
7 void f0(int i = 1, // expected-note{{previous definition}}
9 void f0(int i, int j, int k);
12 void f0(int, int, int); // expected-note{{candidate}}
14 void test_f0_inner_scope() {
19 void test_f0_outer_scope() {
23 void f0(int i = 1, // expected-error{{redefinition of default argument}}
26 template<typename T> void f1(T); // expected-note{{previous}}
29 void f1(T = T()); // expected-error{{cannot be added}}
35 void f2(int, int);
36 void f2(int, int = 7);
37 void h() {
39 void f(int = 1, int); // expected-error{{missing default argument}}
42 void m()
44 void f(int, int); // expected-note{{'f' declared here}}
46 void f(int, int = 5); // expected-note{{previous definition}}
48 void f(int, int = 5); // expected-error{{redefinition of default argument}}
51 void n()