summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/if-empty-1.c
diff options
context:
space:
mode:
authormueller <mueller@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-15 09:11:30 +0000
committermueller <mueller@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-15 09:11:30 +0000
commit6a070b208823ca70ac44b17e7cc976d140c4fd5a (patch)
tree167614d3da8cee264486f8667ab35a7f62381dd7 /gcc/testsuite/gcc.dg/if-empty-1.c
parentec5586d6ef4f06ea15c77d67dc8eeb5b4cb0fde1 (diff)
downloadgcc-6a070b208823ca70ac44b17e7cc976d140c4fd5a.tar.gz
2007-03-15 Dirk Mueller <dmueller@suse.de>
* g++.dg/warn/Wconversion2.C: Fix typo. * gcc.dg/if-empty-1.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122949 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/if-empty-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/if-empty-1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/if-empty-1.c b/gcc/testsuite/gcc.dg/if-empty-1.c
index a129832c337..05819973f9e 100644
--- a/gcc/testsuite/gcc.dg/if-empty-1.c
+++ b/gcc/testsuite/gcc.dg/if-empty-1.c
@@ -7,7 +7,7 @@ void
f (int x)
{
if (x)
- ; /* { dg-warning "warning: empty body in an" } */
+ ; /* { dg-warning "warning: suggest braces around empty body in an" } */
if (x)
; /* By design we don't warn in this case. */
else
@@ -15,7 +15,7 @@ f (int x)
if (x)
(void)0;
else
- ; /* { dg-warning "warning: empty body in an" } */
+ ; /* { dg-warning "warning: suggest braces around empty body in an" } */
if (x)
(void)0;
else