You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
234 B
8 lines
234 B
4 months ago
|
// 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;
|