xref: /aosp_15_r20/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/p11.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
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