llvm-for-llvmta/tools/clang/test/CXX/temp/temp.param/p8.cpp

8 lines
234 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
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;