summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/static9.C
blob: c371288201109584dd736c5566111f2976337055 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// { dg-do assemble  }
// Origin: Ulrich Drepper <drepper@cygnus.com>

struct st
{
  int a, b, c, d;
};

void g ()
{
  static const st i = { 0,1,2,3 };
}

void h ()
{
  static const st i = { 0,1,2,3 };
}