Module Name:    src
Committed By:   christos
Date:           Tue Apr 13 22:21:19 UTC 2021

Modified Files:
        src/tests/usr.bin/xlint/lint1: msg_124.c

Log Message:
add a test for a type attribute after a param function pointer


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/tests/usr.bin/xlint/lint1/msg_124.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/usr.bin/xlint/lint1/msg_124.c
diff -u src/tests/usr.bin/xlint/lint1/msg_124.c:1.8 src/tests/usr.bin/xlint/lint1/msg_124.c:1.9
--- src/tests/usr.bin/xlint/lint1/msg_124.c:1.8	Sun Feb 28 07:40:00 2021
+++ src/tests/usr.bin/xlint/lint1/msg_124.c	Tue Apr 13 18:21:19 2021
@@ -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 c
 	ok(ip == 0L);
 	ok(fp == 0L);
 }
+
+void	test_varargs_attribute(void (*pr)(const char *, ...) __attribute__((__format__(__printf__, 1, 2))));
+

Reply via email to