gold/
authorRoland McGrath <roland@gnu.org>
Fri, 11 Oct 2013 21:59:46 +0000 (21:59 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 11 Oct 2013 21:59:46 +0000 (21:59 +0000)
* testsuite/undef_symbol.cc (Foo::get_a): New method.

gold/ChangeLog
gold/testsuite/undef_symbol.cc

index a44313b..d960201 100644 (file)
@@ -1,5 +1,7 @@
 2013-10-11  Roland McGrath  <mcgrathr@google.com>
 
+       * testsuite/undef_symbol.cc (Foo::get_a): New method.
+
        * configure.ac (MERGE_CONSTANTS_FLAG): New check.
        * configure: Regenerate.
        * Makefile.in: Regenerate.
index 75f17d3..e35b2b2 100644 (file)
@@ -1,6 +1,6 @@
 // undef_symbol.cc -- a test case for undefined references
 
-// Copyright 2007, 2008 Free Software Foundation, Inc.
+// Copyright 2007, 2008, 2013 Free Software Foundation, Inc.
 // Written by Ian Lance Taylor <iant@google.com>.
 
 // This file is part of gold.
@@ -31,6 +31,8 @@ class Foo
   Foo()
     : a_(a)
   { }
+  int get_a()
+  { return a_; }
  private:
   int a_;
 };