aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wrestrict-5.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/Wrestrict-5.c')
-rw-r--r--gcc/testsuite/gcc.dg/Wrestrict-5.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/Wrestrict-5.c b/gcc/testsuite/gcc.dg/Wrestrict-5.c
index 2dae7a8..90babfd 100644
--- a/gcc/testsuite/gcc.dg/Wrestrict-5.c
+++ b/gcc/testsuite/gcc.dg/Wrestrict-5.c
@@ -42,3 +42,6 @@ void test_strncpy_nowarn (char *d)
{
strncpy (d + 1, d + 3, "");
}
+
+/* { dg-prune-output "\\\[-Wbuiltin-declaration-mismatch]" }
+ { dg-prune-output "\\\[-Wint-conversion]" } */