add a test for a type attribute after a param function pointer
This commit is contained in:
parent
d4aea844cb
commit
f7e8f455fd
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: msg_124.c,v 1.8 2021/02/28 12:40:00 rillig Exp $ */
|
||||
/* $NetBSD: msg_124.c,v 1.9 2021/04/13 22:21:19 christos Exp $ */
|
||||
# 3 "msg_124.c"
|
||||
|
||||
// Test for message: illegal pointer combination (%s) and (%s), op %s [124]
|
||||
|
@ -49,3 +49,6 @@ compare_pointers(const void *vp, const char *cp, const int *ip,
|
|||
ok(ip == 0L);
|
||||
ok(fp == 0L);
|
||||
}
|
||||
|
||||
void test_varargs_attribute(void (*pr)(const char *, ...) __attribute__((__format__(__printf__, 1, 2))));
|
||||
|
||||
|
|
Loading…
Reference in New Issue