OSDN Git Service

* gcc.dg/debug/dwarf2-1.c (foo): Return a value.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Feb 2002 03:34:02 +0000 (03:34 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Feb 2002 03:34:02 +0000 (03:34 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49605 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 18fa11f..c373f21 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 b6a580b..4ca98e2 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 ();