• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
3 
4 // All of these function templates are distinct.
f0(T)5 template<typename T> void f0(T) { }
f0(T)6 template<typename T, typename U> void f0(T) { }
f0(U)7 template<typename T, typename U> void f0(U) { }
8 void f0();
9 template<typename T> void f0(T*);
10 void f0(int);
11 template<int I> void f0();
12 template<typename T> void f0();
13 
14 
15