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

struct X
{ 
  static const bool   is_signed  =  true  ;
  static const int digits = is_signed ? 8 *sizeof(wchar_t)-1 : 0;
};