llvm-project/clang/test/Sema/function.c

10 lines
219 B
C
Raw Normal View History

// 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)()) {
}