Lines Matching refs:two
30 void two() { } // expected-note 2 {{possible target for call}}
31 void two(int) { } // expected-note 2 {{possible target for call}}
38 two; // expected-error{{reference to overloaded function could not be resolved; did you mean to call it with no arguments?}}
47 two; // expected-error{{reference to overloaded function could not be resolved; did you mean to call it with no arguments?}}
61 void two() { }; //expected-note 5{{candidate}}
62 void two(int) { }; //expected-note 5{{candidate}}
84 { static_cast<void>(two); } // expected-error {{address of overloaded function 'two' cannot be static_cast to type 'void'}}
85 { (void)(two); } // expected-error {{address of overloaded function 'two' cannot be cast to type 'void'}}
97 { (void) reinterpret_cast<void (*)(int)>(two); } //expected-error {{reinterpret_cast}}
98 { (void) static_cast<void (*)(int)>(two); } //ok
100 { (void) reinterpret_cast<int>(two); } //expected-error {{reinterpret_cast}}
101 { (void) reinterpret_cast<int (*)(char, double)>(two); } //expected-error {{reinterpret_cast}}
167 // These next two errors are terrible.