Lines Matching defs:CharFooTy
276 using CharFooTy = void (*)(void *);
277 auto D = reinterpret_cast<CharFooTy>(foo);
278 auto DAmp = reinterpret_cast<CharFooTy>(&foo);
293 using CharFooTy = void (*)(void *);
294 auto D = (CharFooTy)foo;
295 auto DAmp = (CharFooTy)&foo;
311 using CharFooTy = void (*)(char *);
312 auto B = reinterpret_cast<CharFooTy>(foo); // expected-error{{reinterpret_cast cannot resolve overloaded function 'foo' to type}}
313 auto BRef = reinterpret_cast<CharFooTy>(&foo); // expected-error{{reinterpret_cast cannot resolve overloaded function 'foo' to type}}
314 auto BExplicit = reinterpret_cast<CharFooTy>(foo<char*>);
324 using CharFooTy = void (*)(char *);
325 constexpr auto B = (CharFooTy)foo;
326 constexpr auto BRef = (CharFooTy)&foo;
327 constexpr auto BExplicit = (CharFooTy)foo<char*>;