* output.cc (Output_reloc<SHT_REL>::local_section_offset): Add
[deliverable/binutils-gdb.git] / gold / testsuite / two_file_test_2.cc
index 3888befb732cdb1754f898c53eb488038ffdf6a1..e1aeaf4883ceb7859dba9a5a6c447504094b9ad9 100644 (file)
@@ -121,3 +121,25 @@ const char* t17data[T17_COUNT] =
 {
   "a", "b", "c", "d", "e"
 };
+
+// 18 File 1 checks string constants referenced directly in file 2.
+
+const char*
+f18(int i)
+{
+  switch (i)
+    {
+    case 0:
+      return "a";
+    case 1:
+      return "b";
+    case 2:
+      return "c";
+    case 3:
+      return "d";
+    case 4:
+      return "e";
+    default:
+      return 0;
+    }
+}
This page took 0.024726 seconds and 4 git commands to generate.