Lines Matching defs:b
18 { bool b = (void (&)(char))f; } // expected-error{{does not match required type}} in main() local
19 { bool b = (void (*)(char))f; } // expected-error{{does not match required type}} in main() local
21 { bool b = (void (&)(int))f; } //ok in main() local
22 { bool b = (void (*)(int))f; } //ok in main() local
24 { bool b = static_cast<void (&)(char)>(f); } // expected-error{{does not match}} in main() local
25 { bool b = static_cast<void (*)(char)>(f); } // expected-error{{address of overloaded function}} in main() local
27 { bool b = static_cast<void (&)(int)>(f); } //ok in main() local
28 { bool b = static_cast<void (*)(int)>(f); } //ok in main() local
31 { bool b = reinterpret_cast<void (&)(char)>(f); } // expected-error{{cannot resolve}} in main() local
32 { bool b = reinterpret_cast<void (*)(char)>(f); } // expected-error{{cannot resolve}} in main() local
34 { bool b = reinterpret_cast<void (*)(char)>(g); } //ok in main() local
35 { bool b = static_cast<void (*)(char)>(g); } // expected-error{{not allowed}} in main() local
37 { bool b = reinterpret_cast<void (&)(int)>(f); } // expected-error{{cannot resolve}} in main() local
38 { bool b = reinterpret_cast<void (*)(int)>(f); } // expected-error{{cannot resolve}} in main() local
40 { bool b = (int (&)(char))t; } // expected-error{{does not match}} in main() local
41 { bool b = (int (*)(char))t; } // expected-error{{does not match}} in main() local
43 { bool b = (void (&)(int))t; } //ok in main() local
44 { bool b = (void (*)(int))t; } //ok in main() local
46 { bool b = static_cast<void (&)(char)>(t); } //ok in main() local
47 { bool b = static_cast<void (*)(char)>(t); } //ok in main() local
49 { bool b = static_cast<void (&)(int)>(t); } //ok in main() local
50 { bool b = static_cast<void (*)(int)>(t); } //ok in main() local
53 { bool b = reinterpret_cast<void (&)(char)>(t); } // expected-error{{cannot resolve}} in main() local
54 { bool b = reinterpret_cast<void (*)(char)>(t); } // expected-error{{cannot resolve}} in main() local
56 { bool b = reinterpret_cast<int (*)(char)>(g); } //ok in main() local
57 { bool b = static_cast<int (*)(char)>(t); } // expected-error{{cannot be static_cast}} in main() local
58 { bool b = static_cast<int (&)(char)>(t); } // expected-error{{does not match required}} in main() local
60 { bool b = static_cast<void (&)(char)>(f); } // expected-error{{does not match}} in main() local
68 FnType b = (FnType)(f); // expected-error{{address of overloaded function}} in main() local