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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
gcc.dg
/
special
/
alias-1.c
blob
6798c5be4c656ad8c0aa3b80541932795a6e20c0
1
/* { dg-do link } */
2
/* { dg-require-alias "" } */
3
4
#include <stdlib.h>
5
6
extern
int
foo
(
void
)
__attribute__
((
alias
(
"bar"
)));
7
8
int
bar
(
void
) {
9
return
1
;
10
}
11
12
int
main
(
void
) {
13
14
if
(
foo
())
15
exit
(
0
);
16
else
17
abort
();
18
}