// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
// <rdar://problem/9142559>: For the purposes of Argument-Dependent
// Lookup, Objective-C classes are considered to be in the global
// namespace.
@interfaceNSFoo@endtemplate<typename T>voidf(T t){g(t);}voidg(NSFoo*);voidtest(NSFoo *foo){f(foo);}