proto and function type without proto. It would never call 'functionTypesAreCompatible' because they have different type classes. llvm-svn: 45952
10 lines
219 B
C
10 lines
219 B
C
// 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)()) {
|
|
}
|
|
|