llvm-project/clang/test/CXX/temp/temp.param/p8.cpp

7 lines
207 B
C++

// RUN: %clang_cc1 -fsyntax-only -verify %s
template<int X[10]> struct A;
template<int *X> struct A;
template<int f(float, double)> struct B;
typedef float FLOAT;
template<int (*f)(FLOAT, double)> struct B;