OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
r284@cf-ppc-macosx: monabuilder | 2008-12-07 10:57:41 +0900
[pf3gnuchains/pf3gnuchains3x.git]
/
ld
/
testsuite
/
ld-pie
/
weakundef-data.c
1
#include <stdio.h>
2
3
#pragma weak undef_data
4
5
extern int undef_data;
6
int *ptr_to_data = &undef_data;
7
8
int
9
main (void)
10
{
11
if (ptr_to_data == NULL)
12
printf ("PASSED\n");
13
14
return 0;
15
}