* testsuite/undef_symbol.cc (Foo::get_a): New method.
This commit is contained in:
Roland McGrath 2013-10-11 21:59:46 +00:00
parent 2b64b5511a
commit 52f66a2c4d
2 changed files with 5 additions and 1 deletions

View 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.

View 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_;
};