aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/format/branch-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/format/branch-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/format/branch-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/format/branch-1.c b/gcc/testsuite/gcc.dg/format/branch-1.c
index f180f43..1782064 100644
--- a/gcc/testsuite/gcc.dg/format/branch-1.c
+++ b/gcc/testsuite/gcc.dg/format/branch-1.c
@@ -24,5 +24,5 @@ foo (long l, int nfoo)
printf ((nfoo > 1) ? "%d foos" : ((nfoo > 0) ? "%ld foo" : "%d foos"), nfoo); /* { dg-warning "53:long int" "wrong type" } */
/* Extra arguments to NULL should be complained about. */
printf (0, "foo"); /* { dg-warning "14:too many" "NULL extra args" } */
- /* { dg-warning "null" "null format arg" { target *-*-* } 26 } */
+ /* { dg-warning "null" "null format arg" { target *-*-* } .-1 } */
}