reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics

// All of these function templates are distinct.
template<typename T> void f0(T) { }
template<typename T, typename U> void f0(T) { }
template<typename T, typename U> void f0(U) { }
void f0();
template<typename T> void f0(T*);
void f0(int);
template<int I> void f0();
template<typename T> void f0();