llvm-project/clang/test/SemaCXX/template-specialization.cpp

5 lines
123 B
C++

// RUN: clang -fsyntax-only -verify %s
template<int N> void f(int (&array)[N]);
template<> void f<1>(int (&array)[1]) { }