mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-07 16:43:36 +08:00
gold/
* testsuite/undef_symbol.cc (Foo::get_a): New method.
This commit is contained in:
parent
2b64b5511a
commit
52f66a2c4d
@ -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.
|
||||
|
@ -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_;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user