ld: Don't evaluate unneeded PROVIDE expressions.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-pie / weakundef-data.c
CommitLineData
72aa65a7
L
1#include <stdio.h>
2
3#pragma weak undef_data
4
7dd61ce7
L
5extern int undef_data;
6int *ptr_to_data = &undef_data;
72aa65a7
L
7
8int
9main (void)
10{
11 if (ptr_to_data == NULL)
12 printf ("PASSED\n");
13
14 return 0;
15}
This page took 0.359096 seconds and 4 git commands to generate.