repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix broken MinGW build of gcc.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
lto
/
pr69866_0.c
blob
8c90030a57d602dd2fa89e189ef458b27e9f66bd
1
/* { dg-lto-do link } */
2
/* { dg-require-alias "" } */
3
4
int
_umh
(
int
i
)
5
{
6
return
i
+
1
;
7
}
8
9
int
weaks
(
int
i
)
__attribute__
((
weak
,
alias
(
"_umh"
)));
10
11
int
main
()
12
{
13
return
weaks
(
10
);
14
}