ELF: Check ELF_COMMON_DEF_P for common symbols
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / pr19579a.c
index e4a6eb1ea9bed5aa090b5e9fa033c85de5b6d49d..69d0f35898d8cc398fce90dfe8c83c641c5117e6 100644 (file)
@@ -9,7 +9,7 @@ extern int *bar_p (void);
 int
 main ()
 {
-  if (foo[0] == 0 && foo == foo_p () && bar[0] == 0 && bar == bar_p ())
+  if (foo[0] == 0 && foo == foo_p () && bar[0] == -1 && bar == bar_p ())
     printf ("PASS\n");
   return 0;
 }
This page took 0.025091 seconds and 4 git commands to generate.