1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
---|---|
2 | // expected-no-diagnostics |
3 | template<int X[10]> struct A; |
4 | template<int *X> struct A; |
5 | template<int f(float, double)> struct B; |
6 | typedef float FLOAT; |
7 | template<int (*f)(FLOAT, double)> struct B; |
8 |
1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
---|---|
2 | // expected-no-diagnostics |
3 | template<int X[10]> struct A; |
4 | template<int *X> struct A; |
5 | template<int f(float, double)> struct B; |
6 | typedef float FLOAT; |
7 | template<int (*f)(FLOAT, double)> struct B; |
8 |