blob: 3f6ad96637cc82d95afebae9884d4cb5b3d2ace0 [file] [log] [blame]
Chris Lattnerc08564a2008-01-02 22:50:48 +00001// RUN: clang %s -fsyntax-only
2// PR1892
3void f(double a[restrict][5]); // should promote to restrict ptr.
4void f(double (* restrict a)[5]);
5
Chris Lattnerc38d4522008-01-14 05:45:46 +00006void g(int (*)(const void **, const void **));
7void g(int (*compar)()) {
8}
9