blob: 34e523586c5316b32f1affc32df951b34740920e [file] [log] [blame]
Chris Lattner529bd022008-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
Steve Naroffba03eda2008-01-29 00:15:50 +00006int foo (__const char *__path);
7int foo(__const char *__restrict __file);
8
Chris Lattner1adb8832008-01-14 05:45:46 +00009void g(int (*)(const void **, const void **));
10void g(int (*compar)()) {
11}
12