2008-01-03 06:50:48 +08:00
|
|
|
// RUN: clang %s -fsyntax-only
|
|
|
|
// PR1892
|
|
|
|
void f(double a[restrict][5]); // should promote to restrict ptr.
|
|
|
|
void f(double (* restrict a)[5]);
|
|
|
|
|
2008-01-14 13:45:46 +08:00
|
|
|
void g(int (*)(const void **, const void **));
|
|
|
|
void g(int (*compar)()) {
|
|
|
|
}
|
|
|
|
|