Fix pthread_setname_np build error
[deliverable/binutils-gdb.git] / gold / testsuite / ver_test_2.cc
index 1c69264342ccbb0455988e23e050edbd04873360..8dc061174e7d582037a98b83d5a26f2feafb7fb0 100644 (file)
@@ -1,6 +1,6 @@
 // ver_test_2.cc -- a test case for gold
 
-// Copyright 2007, 2008 Free Software Foundation, Inc.
+// Copyright (C) 2007-2019 Free Software Foundation, Inc.
 // Written by Cary Coutant <ccoutant@google.com>.
 
 // This file is part of gold.
@@ -28,3 +28,13 @@ t3_2()
   TRACE
   return t1_2();
 }
+
+// Calls a versioned function in ver_test_4.cc which should be
+// overridden by an unversioned function in the main program.
+
+int
+t4_2()
+{
+  TRACE
+  return t4_2a();
+}
This page took 0.023812 seconds and 4 git commands to generate.