Sign in
fuchsia
/
third_party
/
github.com
/
llvm
/
llvm-test-suite
/
f8cce5587c37960f53d26daff9cf39ef18330059
/
.
/
SingleSource
/
Regression
/
C
/
gcc-c-torture
/
execute
/
pr36765.c
blob: 6883b0cfd753f77c8618d1a26b6ba8eca4786e44 [
file
] [
log
] [
blame
]
int
__attribute__
((
noinline
))
foo
(
int
i
)
{
int
*
p
=
__builtin_malloc
(
4
*
sizeof
(
int
));
*
p
=
0
;
p
[
i
]
=
1
;
return
*
p
;
}
extern
void
abort
(
void
);
int
main
()
{
if
(
foo
(
0
)
!=
1
)
abort
();
return
0
;
}