summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/field1.C
blob: 5b8b3617c0334384f98bfcc10783a069f7b2d23c (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }

struct X
{
  static const bool b = true;
  static const int i = b ? 1 : 2;
};