Chris Lattner | c08564a | 2008-01-02 22:50:48 +0000 | [diff] [blame] | 1 | // RUN: clang %s -fsyntax-only |
2 | // PR1892 | ||||
3 | void f(double a[restrict][5]); // should promote to restrict ptr. | ||||
4 | void f(double (* restrict a)[5]); | ||||
5 | |||||
Chris Lattner | c38d452 | 2008-01-14 05:45:46 +0000 | [diff] [blame^] | 6 | void g(int (*)(const void **, const void **)); |
7 | void g(int (*compar)()) { | ||||
8 | } | ||||
9 |