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++: Fix ICE with #embed/RAW_DATA_CST after list conversion [PR118671]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr27781.c
blob
2a489012e6ccdb9b2eb8702fdf20c6b57d75c97f
1
/* { dg-do compile } */
2
/* { dg-require-weak-override "" } */
3
/* { dg-options "-O2 -fdump-tree-optimized" } */
4
5
void
__attribute__
((
weak
))
func
(
void
)
6
{
7
/* no code */
8
}
9
10
int
main
()
11
{
12
func
();
13
return
0
;
14
}
15
16
/* { dg-final { scan-tree-dump "func \\(\\);" "optimized" } } */