1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 // The whole point of this test is to verify certain diagnostics work in the
4 // absence of namespace 'std'.
11 template<typename T
> struct A
{
14 f(t
); // expected-error {{call to function 'f' that is neither visible in the template definition nor found by argument-dependent lookup}}
18 void f(ns::Data
); // expected-note {{in namespace 'PR10053::ns'}}
20 A
<ns::Data
> a
; // expected-note {{in instantiation of member function}}