Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
c-c++-common
/
zero-scratch-regs-1.c
blob: 2463353a12eebab7fb07eb97fd27df2443330e5b [
file
] [
log
] [
blame
]
/* { dg-do run } */
/* { dg-options "-O2 -fzero-call-used-regs=skip" } */
volatile
int
result
=
0
;
int
__attribute__
((
noipa
))
foo
(
int
x
)
{
return
x
;
}
int
main
()
{
result
=
foo
(
2
);
return
0
;
}