OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:templatedbar
(Results
1 - 1
of
1
) sorted by null
/external/clang/test/SemaCXX/
enable_if.cpp
214
T
templatedBar
(T m) __attribute__((enable_if(m > 0, ""))) { return T(); }
216
int (*p)(int) =
templatedBar
<int>; // expected-error{{address of overloaded function '
templatedBar
' does not match required type 'int (int)'}} expected-note@214{{candidate function made ineligible by enable_if}}
217
int (*p2)(int) = &
templatedBar
<int>; // expected-error{{address of overloaded function '
templatedBar
' does not match required type 'int (int)'}} expected-note@214{{candidate function made ineligible by enable_if}}
219
a =
templatedBar
<int>; // expected-error{{assigning to 'int (*)(int)' from incompatible type '<overloaded function type>'}} expected-note@214{{candidate function made ineligible by enable_if}}
220
a = &
templatedBar
<int>; // expected-error{{assigning to 'int (*)(int)' from incompatible type '<overloaded function type>'}} expected-note@214{{candidate function made ineligible by enable_if}}
Completed in 196 milliseconds