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
* gcc.dg/ipa/inline-2.c: Fix implicit declarations.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
alias-3.c
blob
3dc25a91c49adc3285418ce6cfb76b22d19c176f
1
/* { dg-do compile } */
2
/* { dg-require-alias "" } */
3
/* { dg-options "" } */
4
5
extern
int
foo
();
6
7
int
baz
() {
return
foo
(); }
8
9
static
inline
int
bar
()
__attribute__
((
alias
(
"foo"
)));
/* { dg-error "aliased to" } */
10
11
int
main
() {
return
bar
(); }