Commit: Fix GOLD testsuite failures for 2.35 branch.
[binutils-gdb.git] / gold / testsuite / ver_test_4.cc
index ef06e2cf1a9985fe5cd3b995803f52ffe6f1c09f..b8fc79c5c407031c4f96a0b33e6a0abdca7f1c1a 100644 (file)
@@ -1,6 +1,6 @@
 // ver_test_4.cc -- a test case for gold
 
-// Copyright (C) 2007-2014 Free Software Foundation, Inc.
+// Copyright (C) 2007-2020 Free Software Foundation, Inc.
 // Written by Cary Coutant <ccoutant@google.com>.
 
 // This file is part of gold.
 
 #include "ver_test.h"
 
+__asm__(".symver t1_2_orig,t1_2@");
+
+extern "C"
+int
+t1_2_orig()
+{
+  TRACE
+  return 12;
+}
+
 __asm__(".symver t1_2_a,t1_2@@VER2");
 
 extern "C"