summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20040707-1.c
blob: 6fc15cc24a7c4dae0b6b8d44fd5780654043ea32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
struct s { char c1, c2; };
void foo (struct s s)
{
  static struct s s1;
  s1 = s;
}
int main ()
{
  static struct s s2;
  foo (s2);
  exit (0);
}