Lines Matching refs:declaration
11 - (int) meth; // expected-note {{previous declaration is here}}
12 - (int*) meth; // expected-error {{duplicate declaration of method 'meth'}}
13 - (T*) meth1; // expected-note {{previous declaration is here}}
19 - (int) catm : (char)ch1; // expected-note {{previous declaration is here}}
21 - (int) catm : (char*)ch1; // expected-error {{duplicate declaration of method 'catm:'}}
27 + (int) catm1 : (char)ch : (int)i; // expected-note {{previous declaration is here}}
28 + (T*) meth1; // expected-note {{previous declaration is here}}
29 + (int) catm1 : (char)ch : (int*)i; // expected-error {{duplicate declaration of method 'catm1::'}}
30 + (T**) meth1; // expected-error {{duplicate declaration of method 'meth1'}}
35 - (int) meth; // expected-note {{previous declaration is here}}
36 - (int*) meth; // expected-error {{duplicate declaration of method 'meth'}}