1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
9 void resolves_to_same() {
14 void resolves_to_different() {
17 // The fact that the next line is a warning rather than an error is an
22 int set
; // Non-template.
28 namespace rdar9915664
{
30 template<typename T
> void a();
38 A
&getA() { return static_cast<B
&>(*this); }
47 template<typename T
> T
end(T
);
52 if (it1
->end
< it1
->end
) {
56 template<typename T
> T
*end(T
*);
62 if (it1
->end
< it1
->end
) {
66 if (x
->end
< 7) { // expected-error{{no member named 'end' in 'PR11856::X'}}