OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* g++.dg/opt/nothrow1.C: Use cleanup-tree-dump.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
special
/
alias-1.c
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
}