mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-08 17:13:49 +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>
|
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.ac (MERGE_CONSTANTS_FLAG): New check.
|
||||||
* configure: Regenerate.
|
* configure: Regenerate.
|
||||||
* Makefile.in: Regenerate.
|
* Makefile.in: Regenerate.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// undef_symbol.cc -- a test case for undefined references
|
// 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>.
|
// Written by Ian Lance Taylor <iant@google.com>.
|
||||||
|
|
||||||
// This file is part of gold.
|
// This file is part of gold.
|
||||||
@ -31,6 +31,8 @@ class Foo
|
|||||||
Foo()
|
Foo()
|
||||||
: a_(a)
|
: a_(a)
|
||||||
{ }
|
{ }
|
||||||
|
int get_a()
|
||||||
|
{ return a_; }
|
||||||
private:
|
private:
|
||||||
int a_;
|
int a_;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user