mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
7dd61ce72a
* ld-pie/weakundef-data.c: Fix the typo.
16 lines
186 B
C
16 lines
186 B
C
#include <stdio.h>
|
|
|
|
#pragma weak undef_data
|
|
|
|
extern int undef_data;
|
|
int *ptr_to_data = &undef_data;
|
|
|
|
int
|
|
main (void)
|
|
{
|
|
if (ptr_to_data == NULL)
|
|
printf ("PASSED\n");
|
|
|
|
return 0;
|
|
}
|