Sign in
go
/
gofrontend
/
42efec8c126cf3787bc7c89d9c7f224eff7c5a21
/
.
/
libgo
/
go
/
debug
/
dwarf
/
testdata
/
rnglistx.c
blob: 877043584d6bb48d8166b1ee6cddb5eb722285db [
file
] [
log
] [
blame
]
// clang -gdwarf-5 -O2 -nostdlib
__attribute__
((
noinline
,
cold
))
static
int
sum
(
int
i
)
{
int
j
,
s
;
s
=
0
;
for
(
j
=
0
;
j
<
i
;
j
++)
{
s
+=
j
*
i
;
}
return
s
;
}
int
main
(
int
argc
,
char
**
argv
)
{
if
(
argc
==
0
)
{
return
0
;
}
return
sum
(
argc
);
}