Typo fix in most recent entry.
[binutils.git] / ld / testsuite / ld-pie / weakundef-data.c
blobaf411bccbfdb37e17e228f3701a7a6e3e63f388e
1 #include <stdio.h>
3 #pragma weak undef_data
5 extern int undef_data;
6 int *ptr_to_data = &undef_data;
8 int
9 main (void)
11 if (ptr_to_data == NULL)
12 printf ("PASSED\n");
14 return 0;