Home
last modified time | relevance | path

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

/external/clang/test/SemaCXX/
Denable_if.cpp224 T templatedConflict(T m) __attribute__((enable_if(false, ""))) { return T(); } in templatedConflict() function
226 T templatedConflict(T m) __attribute__((enable_if(true, ""))) { return T(); } in templatedConflict() function
228 T templatedConflict(T m) __attribute__((enable_if(1, ""))) { return T(); } in templatedConflict() function
230 …int (*p)(int) = templatedConflict<int>; // expected-error{{address of overloaded function 'templat… in test6()
231 …int (*p0)(int) = &templatedConflict<int>; // expected-error{{address of overloaded function 'templ… in test6()
233 …a = templatedConflict<int>; // expected-error{{assigning to 'int (*)(int)' from incompatible type … in test6()
234 …a = &templatedConflict<int>; // expected-error{{assigning to 'int (*)(int)' from incompatible type… in test6()