☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
special
/
alias-1.c
☽
☼
gcc/testsuite/gcc.dg/special/alias-1.c
code
plain
raw
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
}