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
2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr37156.c
blob
e86f5950f734e644e36560da33a6adcfe0ec32dd
1
/* PR debug/37156 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -g" } */
4
5
__attribute__
((
warning
(
"is experimental"
)))
int
bar
(
int
,
int
*,
int
*,
int
);
6
7
long long
foo
(
void
)
8
{
9
int
n
,
m
;
10
long long
r
;
11
bar
(
0
, &
n
, &
m
,
0
);
/* { dg-warning "is experimental" } */
12
r
= (
long long
)
n
;
13
return
r
;
14
}
15
16
void
17
baz
(
int
n
)
18
{
19
int
o
;
20
o
=
foo
() -
n
;
21
}