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
PR libfortran/64770 Segfault when trying to open existing file with status="new".
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr35899.c
blob
7bfb53f547706ac00f4f4fd3ad99be25056fc932
1
/* PR tree-optimization/35899 */
2
/* { dg-do compile } */
3
/* { dg-options "-std=gnu89 -O2" } */
4
5
int
6
foo
(
void
)
7
{
8
int
a
=
bar
();
9
return
a
;
10
}
11
12
void
13
bar
(
void
)
/* { dg-warning "conflicting types for" } */
14
{
15
}
16
17
/* { dg-message "note: previous implicit declaration" "" { target *-*-* } 8 } */