Lines Matching refs:two
30 void two() { } // expected-note 2 {{possible target for call}} in two() function
31 void two(int) { } // expected-note 2 {{possible target for call}} in two() function
38 …two; // expected-error{{reference to overloaded function could not be resolved; did you mean to ca… in check()
47 …two; // expected-error{{reference to overloaded function could not be resolved; did you mean to ca… in check()
61 void two() { }; //expected-note 5{{candidate}} in two() function
62 void two(int) { }; //expected-note 5{{candidate}} in two() function
84 …{ static_cast<void>(two); } // expected-error {{address of overloaded function 'two' cannot be sta… in main()
85 …{ (void)(two); } // expected-error {{address of overloaded function 'two' cannot be cast to type '… in main()
97 { (void) reinterpret_cast<void (*)(int)>(two); } //expected-error {{reinterpret_cast}} in main()
98 { (void) static_cast<void (*)(int)>(two); } //ok in main()
100 { (void) reinterpret_cast<int>(two); } //expected-error {{reinterpret_cast}} in main()
101 { (void) reinterpret_cast<int (*)(char, double)>(two); } //expected-error {{reinterpret_cast}} in main()