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

int foo (__const char *__path);
int foo(__const char *__restrict __file);

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