Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
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
;
}