* gcc.dg/debug/dwarf2-1.c (foo): Return a value.
authorRichard Henderson <rth@redhat.com>
Fri, 8 Feb 2002 03:34:02 +0000 (19:34 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 8 Feb 2002 03:34:02 +0000 (19:34 -0800)
From-SVN: r49605

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug/dwarf2-1.c

index 18fa11f1cf905f0a00a3efdf39188381cba9d89e..c373f211e34628910f5f798c86ea8c5620657a57 100644 (file)
@@ -1,3 +1,7 @@
+2002-02-07  Richard Henderson  <rth@redhat.com>
+
+       * gcc.dg/debug/dwarf2-1.c (foo): Return a value.
+
 2002-02-07  David Billinghurst <David.Billinghurst@riotinto.com>
 
        * lib/prune.exp: Remove "In (program|subroutine"block-data)"
index b6a580bf23cada256440aca82a46a6e43e40ff1b..4ca98e2f03d97310cb5f68908793c635f2db8109 100644 (file)
@@ -3,7 +3,7 @@
 /* Copyright (C) 2000  Free Software Foundation  */
 /* Contributed by Alexandre Oliva <aoliva@cygnus.com> */
 
-static int foo () {}
+static int foo () { return 0; }
 
 void bar () {
   int foo ();