summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/old-style-prom-2.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-16 13:09:38 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-16 13:09:38 +0000
commit22642efda7e6534076c91bd0d9ee4a244ea44c4a (patch)
treef379042d103278bfa7fe040ddace8f7ca34aa4cd /gcc/testsuite/gcc.dg/old-style-prom-2.c
parent5be59a5529f8877a7933cf0131353a0d54383b96 (diff)
downloadgcc-22642efda7e6534076c91bd0d9ee4a244ea44c4a.tar.gz
2009-06-16 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r148523 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@148527 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/old-style-prom-2.c')
-rw-r--r--gcc/testsuite/gcc.dg/old-style-prom-2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.dg/old-style-prom-2.c b/gcc/testsuite/gcc.dg/old-style-prom-2.c
index 0460facef61..e7e690e1417 100644
--- a/gcc/testsuite/gcc.dg/old-style-prom-2.c
+++ b/gcc/testsuite/gcc.dg/old-style-prom-2.c
@@ -7,8 +7,8 @@ float f (float, float); /* { dg-warning "prototype declaration" } */
float
f (x, y)
- float x;
- float y;
-{ /* { dg-warning "promoted argument '.' doesn't match prototype" } */
+ float x; /* { dg-warning "promoted argument 'x' doesn't match prototype" } */
+ float y; /* { dg-warning "promoted argument 'y' doesn't match prototype" } */
+{
return x + y;
}