summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20080916_0.C
blob: 77494ef689c30ab9ff96fc2cffd9f557f8d44560 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-lto-do assemble } */

enum _Ios_Fmtflags     {
 _S_boolalpha };

class ios_base   {
 static const  _Ios_Fmtflags boolalpha =   _S_boolalpha;
 _Ios_Fmtflags _M_flags;
};

ios_base& g() {
    static ios_base a;
    return a;
}