aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/format/attr-5.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/format/attr-5.c')
-rw-r--r--gcc/testsuite/gcc.dg/format/attr-5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/format/attr-5.c b/gcc/testsuite/gcc.dg/format/attr-5.c
index a4e9634..36b1198 100644
--- a/gcc/testsuite/gcc.dg/format/attr-5.c
+++ b/gcc/testsuite/gcc.dg/format/attr-5.c
@@ -11,7 +11,7 @@ static int scanf(const char *restrict, ...);
/* This sscanf declaration doesn't have variable arguments, so isn't
compatible with a format attribute. */
-extern int sscanf(const char *restrict, const char *restrict, int *);
+extern int sscanf(const char *restrict, const char *restrict, int *); /* { dg-warning "conflict" "conflict" } */
void
foo (const char *s, int *p)