diff options
Diffstat (limited to 'test/Sema/function.c')
-rw-r--r-- | test/Sema/function.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Sema/function.c b/test/Sema/function.c new file mode 100644 index 0000000000..751339b79a --- /dev/null +++ b/test/Sema/function.c @@ -0,0 +1,5 @@ +// RUN: clang %s -fsyntax-only +// PR1892 +void f(double a[restrict][5]); // should promote to restrict ptr. +void f(double (* restrict a)[5]); + |