summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/strcpy-1.c
blob: 2c7b16a08d810856965613e0fd24031acf55f177 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
typedef struct
{
  char str[20];
}STACK;
STACK stack[15];
int level;
rezero ()
{
  level = 0;
  __builtin_strcpy (stack[level].str, "");
}