summaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/vector-subscript-5.c
blob: 58a94f0fb15daefda13e8f00b04bbc64e6225073 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */

typedef int U __attribute__ ((vector_size (16)));

int
foo (int i)
{
  register U u
#if __SSE2__
      asm ("xmm0");
#endif
  return u[i];
}