Searched refs:templatedBar (Results 1 – 1 of 1) sorted by relevance
214 T templatedBar(T m) __attribute__((enable_if(m > 0, ""))) { return T(); } in templatedBar() function216 …int (*p)(int) = templatedBar<int>; // expected-error{{address of overloaded function 'templatedBar… in test5()217 …int (*p2)(int) = &templatedBar<int>; // expected-error{{address of overloaded function 'templatedB… in test5()219 …a = templatedBar<int>; // expected-error{{assigning to 'int (*)(int)' from incompatible type '<ove… in test5()220 …a = &templatedBar<int>; // expected-error{{assigning to 'int (*)(int)' from incompatible type '<ov… in test5()