Lines Matching defs:b
14 { bool b = (void (&)(char))f; } // expected-error{{does not match required type}} in main() local
15 { bool b = (void (*)(char))f; } // expected-error{{does not match required type}} in main() local
17 { bool b = (void (&)(int))f; } //ok in main() local
18 { bool b = (void (*)(int))f; } //ok in main() local
20 { bool b = static_cast<void (&)(char)>(f); } // expected-error{{does not match}} in main() local
21 { bool b = static_cast<void (*)(char)>(f); } // expected-error{{address of overloaded function}} in main() local
23 { bool b = static_cast<void (&)(int)>(f); } //ok in main() local
24 { bool b = static_cast<void (*)(int)>(f); } //ok in main() local
27 { bool b = reinterpret_cast<void (&)(char)>(f); } // expected-error{{cannot resolve}} in main() local
28 { bool b = reinterpret_cast<void (*)(char)>(f); } // expected-error{{cannot resolve}} in main() local
30 { bool b = reinterpret_cast<void (*)(char)>(g); } //ok in main() local
31 { bool b = static_cast<void (*)(char)>(g); } // expected-error{{not allowed}} in main() local
33 { bool b = reinterpret_cast<void (&)(int)>(f); } // expected-error{{cannot resolve}} in main() local
34 { bool b = reinterpret_cast<void (*)(int)>(f); } // expected-error{{cannot resolve}} in main() local
36 { bool b = (int (&)(char))t; } // expected-error{{does not match}} in main() local
37 { bool b = (int (*)(char))t; } // expected-error{{does not match}} in main() local
39 { bool b = (void (&)(int))t; } //ok in main() local
40 { bool b = (void (*)(int))t; } //ok in main() local
42 { bool b = static_cast<void (&)(char)>(t); } //ok in main() local
43 { bool b = static_cast<void (*)(char)>(t); } //ok in main() local
45 { bool b = static_cast<void (&)(int)>(t); } //ok in main() local
46 { bool b = static_cast<void (*)(int)>(t); } //ok in main() local
49 { bool b = reinterpret_cast<void (&)(char)>(t); } // expected-error{{cannot resolve}} in main() local
50 { bool b = reinterpret_cast<void (*)(char)>(t); } // expected-error{{cannot resolve}} in main() local
52 { bool b = reinterpret_cast<int (*)(char)>(g); } //ok in main() local
53 { bool b = static_cast<int (*)(char)>(t); } // expected-error{{cannot be static_cast}} in main() local
54 { bool b = static_cast<int (&)(char)>(t); } // expected-error{{does not match required}} in main() local
56 { bool b = static_cast<void (&)(char)>(f); } // expected-error{{does not match}} in main() local