summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.martin/bitset1.C
blob: c8be0bf88dc49a0dcf294b3dd028d22a50ebd1b8 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do run  }
// Origin: Jeff Donner <jdonner@schedsys.com>
#include <bitset>

int main()
{
  std::bitset<sizeof(int) * 8> bufWord;

  bufWord[3] = 0;
}