aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/function.c
blob: 3f6ad96637cc82d95afebae9884d4cb5b3d2ace0 (plain)
1
2
3
4
5
6
7
8
9
// RUN: clang %s -fsyntax-only
// PR1892
void f(double a[restrict][5]);  // should promote to restrict ptr.
void f(double (* restrict a)[5]);

void g(int (*)(const void **, const void **));
void g(int (*compar)()) {
}