summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/function.c')
-rw-r--r--clang/test/Sema/function.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Sema/function.c b/clang/test/Sema/function.c
index 1eb5ac4623d..1b0dc2adeb7 100644
--- a/clang/test/Sema/function.c
+++ b/clang/test/Sema/function.c
@@ -89,3 +89,6 @@ unknown_type t19(int* P) { // expected-error {{unknown type name 'unknown_type
// missing ',' before '...'
void t20(int i...) { } // expected-error {{requires a comma}}
+
+int n;
+void t21(int n, int (*array)[n]);
OpenPOWER on IntegriCloud