p11.cpp revision 1282029f3d37f482bbba3c38ea9da17a78d11d40
1// RUN: clang-cc -fsyntax-only %s 2 3template <class T> T* f(int); // #1 4template <class T, class U> T& f(U); // #2 5 6void g() { 7 int *ip = f<int>(1); // calls #1 8} 9 10// FIXME: test occurrences of template parameters in non-deduced contexts. 11