Imported Upstream version 4.7.3
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.dg / vect / pr33369.c
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3 /* { dg-require-effective-target vect_shift } */
4
5 typedef struct tagPOINT
6 {
7   int x;
8   int y;
9 } POINT;
10
11 void
12 f (POINT * ptBuf)
13 {
14   int i;
15   for (i = 0; i < 4; i++)
16     {
17       ptBuf[i].x = ((ptBuf[i].x) << 4);
18       ptBuf[i].y = ((ptBuf[i].y) << 4);
19     }
20 }
21
22 /* { dg-final { cleanup-tree-dump "vect" } } */