summaryrefslogtreecommitdiffstats
path: root/test/CXX/temp/temp.spec/temp.expl.spec/p11.cpp
blob: e794e67a5ef34ef183452afba8e96f0345fd8062 (plain)
1
2
3
4
5
6
7
8
// RUN: clang-cc -fsyntax-only -verify %s

template<class T> class Array { /* ... */ }; 
template<class T> void sort(Array<T>& v);

// explicit specialization for sort(Array<int>&) 
// with deduced template-argument of type int 
template<> void sort(Array<int>&);