Sign in
llvm
/
llvm-test-suite
/
8e6f3ef1b8f30cca66fd1a4e35d16bdfd0c622ba
/
.
/
SingleSource
/
Regression
/
C
/
gcc-c-torture
/
execute
/
20040223-1.c
blob: c295e4b09eaeda683e53f9acff83f01c4b425212 [
file
] [
log
] [
blame
]
/* { dg-require-effective-target alloca } */
#include
<string.h>
#include
<stdio.h>
void
a
(
void
*
x
,
int
y
)
{
if
(
y
!=
1234
)
abort
();
}
int
main
()
{
a
(
strcpy
(
alloca
(
100
),
"abc"
),
1234
);
return
0
;
}