aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/function.c')
-rw-r--r--test/Sema/function.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Sema/function.c b/test/Sema/function.c
index 751339b79a..3f6ad96637 100644
--- a/test/Sema/function.c
+++ b/test/Sema/function.c
@@ -3,3 +3,7 @@
void f(double a[restrict][5]); // should promote to restrict ptr.
void f(double (* restrict a)[5]);
+void g(int (*)(const void **, const void **));
+void g(int (*compar)()) {
+}
+