aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/undef_symbol.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/testsuite/undef_symbol.cc')
-rw-r--r--gold/testsuite/undef_symbol.cc4
1 files changed, 3 insertions, 1 deletions
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_;
};