summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/cstring-syntax-weird2.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Analysis/cstring-syntax-weird2.c')
-rw-r--r--clang/test/Analysis/cstring-syntax-weird2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/cstring-syntax-weird2.c b/clang/test/Analysis/cstring-syntax-weird2.c
index a0f28536d4a3..0250d69d994e 100644
--- a/clang/test/Analysis/cstring-syntax-weird2.c
+++ b/clang/test/Analysis/cstring-syntax-weird2.c
@@ -6,9 +6,9 @@
typedef __SIZE_TYPE__ size_t;
// The last parameter is normally size_t but the test is about the abnormal
// situation when it's not a size_t.
-size_t strlcpy(char *, const char *, void (*)());
+size_t strlcpy(char *, const char *, void (*)(void));
-void foo();
+void foo(void);
void testWeirdDecls(const char *src) {
char dst[10];