summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/crash13.C
blob: 03b25df898494b165749ac4e081d3693dbdc1a0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }

struct Base_bitset {
  unsigned M_w[2];
  void M_do_right_shift();
};


void Base_bitset::M_do_right_shift ()
{
  unsigned n = 0;
  M_w[0] =  M_w[n + 1]  ;
}