aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gold/ChangeLog2
-rw-r--r--gold/testsuite/undef_symbol.cc4
2 files changed, 5 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index a44313b..d960201 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -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.
diff --git a/gold/testsuite/undef_symbol.cc b/gold/testsuite/undef_symbol.cc
index 75f17d3..e35b2b2 100644
--- a/gold/testsuite/undef_symbol.cc
+++ b/gold/testsuite/undef_symbol.cc
@@ -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_;
};