summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20051104-1.c
blob: 16578778cc61ea064b240681325f578c085b796e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR rtl-optimization/23567 */

struct
{
  int len;
  char *name;
} s;

int
main (void)
{
  s.len = 0;
  s.name = "";
  if (s.name [s.len] != 0)
    s.name [s.len] = 0;
  return 0;
}