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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr87483.c
blob
d3af8dfee5d76b1b8a4639dc4e3d2215dfc912e3
1
/* PR c/87483 */
2
/* { dg-require-alias "" } */
3
4
int
f
(
void
) {
return
0
; }
5
__attribute__
((
alias
(
"f"
)))
int
g
() {
return
1
; }
/* { dg-warning "attribute ignored because function is defined" } */
6
__attribute__
((
alias
(
"f"
)))
int
g2
();
7
8
int
h
(
void
)
9
{
10
return
g2
();
11
}
12
13
int
main
()
14
{
15
return
h
();
16
}