aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.other/init14.C
blob: e3fca53f64fa15e6c9caff0b885885e36fa21587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// { dg-do assemble  }
// Origin: bkoz@nabi.net

typedef struct
{
  int count;
} mbstate_t;

struct fpos
{
  mbstate_t  _M_st;
  fpos(int __pos)
    : _M_st() { 
  }
};

int main ()
{
  fpos f (2);
}