xref: /minix3/external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p11.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
3 
4 template<class T> class Array { /* ... */ };
5 template<class T> void sort(Array<T>& v);
6 
7 // explicit specialization for sort(Array<int>&)
8 // with deduced template-argument of type int
9 template<> void sort(Array<int>&);
10