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

5 lines
126 B
C++

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