1/* { dg-do compile } */
2/* { dg-require-effective-target vect_shift } */
3
4void
5test_1 (void)
6{
7  static unsigned int bm[16];
8  int j;
9  for (j = 0; j < 16; j++)
10    bm[j] <<= 8;
11}
12
13void
14test_2 (int a)
15{
16  static unsigned int bm[16];
17  int j;
18  for (j = 0; j < 16; j++)
19    bm[j] <<= a;
20}
21
22void
23test_3 (void)
24{
25 static unsigned bm[16];
26 int am[16];
27 int j;
28 for (j = 0; j < 16;j++)
29   bm[j] <<= am[j];
30}
31
32/* { dg-final { cleanup-tree-dump "vect" } } */
33