OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / init10.C
1 // { dg-do run  }
2 int i;
3
4 struct D {
5   D () {
6     i++;
7   }
8 };
9
10 struct C {
11   C() {}
12     
13   D d[1];
14 };
15
16
17 int main ()
18 {
19   C c;
20
21   if (i != 1)
22     return 1;
23 }