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++: Make *_cast<*> parsing more robust to errors [PR108438]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
980505-1.c
blob
e452208eb52fb7836bb940b04cde0bf164bc0c61
1
void
abort
(
void
);
2
void
exit
(
int
);
3
4
static int
f
(
int
)
__attribute__
((
const
));
5
int
main
()
6
{
7
int
f1
,
f2
,
x
;
8
x
=
1
;
f1
=
f
(
x
);
9
x
=
2
;
f2
=
f
(
x
);
10
if
(
f1
!=
1
||
f2
!=
2
)
11
abort
();
12
exit
(
0
);
13
}
14
static int
f
(
int
x
) {
return
x
; }