]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
anchor1.C (foo): Return the return value of ycf->ascent.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 21 Aug 2008 16:32:38 +0000 (17:32 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Thu, 21 Aug 2008 16:32:38 +0000 (17:32 +0100)
* g++.dg/opt/anchor1.C (foo): Return the return value of
ycf->ascent.

From-SVN: r139399

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/anchor1.C

index 74ed9f9a2bbc422609dde37e81cf11492438d698..36ad31cb905b66ae5fbb6fd30ec4fb158ea67d24 100644 (file)
@@ -1,3 +1,8 @@
+2008-08-21  Joseph Myers  <joseph@codesourcery.com>
+
+       * g++.dg/opt/anchor1.C (foo): Return the return value of
+       ycf->ascent.
+
 2008-08-21  Richard Guenther  <rguenther@suse.de>
 
        * gcc.dg/vect/vect-fold-1.c: Scan ccp1 dump instead of dom1.
index 5d30afbe8a3ceaa43715b8df267779b9527c1274..e24b0a4fe6fa81a079cce28d32b3b2908b8f30e9 100644 (file)
@@ -47,7 +47,7 @@ YCoreFont::~YCoreFont() {
 
 int foo(YCoreFont *ycf)
 {
-  ycf->ascent ();
+  return ycf->ascent ();
 }
 
 int main()