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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
alias-13.c
blob
85e1f8744bc75175f35195b7f7acc3e51626c9bf
1
/* { dg-do compile } */
2
/* { dg-require-alias "" } */
3
/* { dg-options "-O2" } */
4
static void
f
(
void
)
__attribute__
((
alias
(
"g"
)));
static void
g
(
void
)
__attribute__
((
alias
(
"f"
)));
// { dg-error "part of alias cycle" }
5
6
void
h
()
7
{
8
f
();
9
}