Home
last modified time | relevance | path

Searched refs:CharFooTy (Results 1 – 1 of 1) sorted by relevance

/external/clang/test/SemaCXX/
Denable_if.cpp276 using CharFooTy = void (*)(void *); in testIt() typedef
277 auto D = reinterpret_cast<CharFooTy>(foo); in testIt()
278 auto DAmp = reinterpret_cast<CharFooTy>(&foo); in testIt()
293 using CharFooTy = void (*)(void *); in testItCStyle() typedef
294 auto D = (CharFooTy)foo; in testItCStyle()
295 auto DAmp = (CharFooTy)&foo; in testItCStyle()
311 using CharFooTy = void (*)(char *); in testIt() typedef
312 …auto B = reinterpret_cast<CharFooTy>(foo); // expected-error{{reinterpret_cast cannot resolve over… in testIt()
313 …auto BRef = reinterpret_cast<CharFooTy>(&foo); // expected-error{{reinterpret_cast cannot resolve … in testIt()
314 auto BExplicit = reinterpret_cast<CharFooTy>(foo<char*>); in testIt()
[all …]