Chris Lattner | 529bd02 | 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 | |||||
Steve Naroff | ba03eda | 2008-01-29 00:15:50 +0000 | [diff] [blame] | 6 | int foo (__const char *__path); |
7 | int foo(__const char *__restrict __file); | ||||
8 | |||||
Chris Lattner | 1adb883 | 2008-01-14 05:45:46 +0000 | [diff] [blame] | 9 | void g(int (*)(const void **, const void **)); |
10 | void g(int (*compar)()) { | ||||
11 | } | ||||
12 |