aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/format/diag-1.c
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2005-02-17 22:42:30 +0000
committerMichael Matz <matz@suse.de>2005-02-17 22:42:30 +0000
commit0d3a67f04018da2a0fae4b4a2d7742f317e3b942 (patch)
tree3da4b8381a55ebf9e11370ab77cb825ab3bf7321 /gcc/testsuite/gcc.dg/format/diag-1.c
parentdf58966e0bc37b0ade78c4866e9c9f58ea8d385e (diff)
Merge to HEAD at tree-cleanup-merge-20041024 .new-regalloc-branch
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/new-regalloc-branch@95203 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/format/diag-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/format/diag-1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.dg/format/diag-1.c b/gcc/testsuite/gcc.dg/format/diag-1.c
index 1c9a246165b..998e35b9b47 100644
--- a/gcc/testsuite/gcc.dg/format/diag-1.c
+++ b/gcc/testsuite/gcc.dg/format/diag-1.c
@@ -12,7 +12,7 @@ foo (double d)
printf ("%hhf", d); /* { dg-warning "hh" "%hhf warning" } */
/* This should get a message referring to `ll', not to `q'. */
printf ("%llf", d); /* { dg-warning "ll" "%llf warning" } */
- /* This should get a message referring to `size_t format', not to
- `unsigned int format' or similar. */
- printf ("%zu", d); /* { dg-warning "size_t format" "size_t format warning" } */
+ /* This should get a message referring to 'size_t', not to
+ 'unsigned int' or similar. */
+ printf ("%zu", d); /* { dg-warning "size_t" "size_t format warning" } */
}