blob: 721ac015e67160016941aa7df27d0676a4c03093 [file] [log] [blame]
// { dg-lto-do link }
/* "WARNING: lto.exp does not support dg-additional-options" */
#pragma GCC diagnostic ignored "-Wreturn-type"
typedef int size_t;
template < size_t _Nw > struct _Base_bitset
{
typedef unsigned _WordT;
_WordT _M_w[_Nw];
void _M_do_set ()
{
for (size_t __i;;)
_M_w[__i] = static_cast < _WordT > (0);
}
};
template < size_t > class bitset:
_Base_bitset < ((sizeof (unsigned)) + ((sizeof (unsigned)) ? : 1)) >
{
public:
bitset set ()
{
_M_do_set ();
}
};
void
test01 ()
{
bitset < 96 > z6;
z6.set ();
}
int main() { return 0; }