From 52f66a2c4d1200cac1e57c1a38f95c8485e9a72d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 11 Oct 2013 21:59:46 +0000 Subject: [PATCH] gold/ * testsuite/undef_symbol.cc (Foo::get_a): New method. --- gold/ChangeLog | 2 ++ gold/testsuite/undef_symbol.cc | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index a44313bd915..d9602014c60 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,7 @@ 2013-10-11 Roland McGrath + * 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 75f17d3593c..e35b2b247e6 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 . // This file is part of gold. @@ -31,6 +31,8 @@ class Foo Foo() : a_(a) { } + int get_a() + { return a_; } private: int a_; }; -- 2.30.2