projects
/
apple
/
dyld.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
dyld-625.13.tar.gz
[apple/dyld.git]
/
testing
/
test-cases
/
weak-coalesce.dtest
/
foo3.c
1
#include <stdio.h>
2
3
#include
"base.h"
4
5
int
__attribute__
((
weak
))
coal1
=
3
;
6
int
__attribute__
((
weak
))
coal2
=
2
;
7
8
static
__attribute__
((
constructor
))
9
void
myinit
()
10
{
11
//fprintf(stderr, "myinit() in foo1.c\n");
12
baseVerifyCoal1
(
"in foo3"
, &
coal1
);
13
baseVerifyCoal2
(
"in foo3"
, &
coal2
);
14
}
15