blob: f03811f35e60d64430c08d033d7e3531f0f6a506 (
plain)
1
2
3
4
5
6
7
8
9
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
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>&);
|