aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/debug/pr49294.c
blob: 86b53bd565ba8befef7e99ac6a7ea4947bd5b4f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR debug/49294 */
/* { dg-do compile } */
/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */

typedef __attribute__ ((vector_size ((8) * sizeof (short)))) short V;

int k;
V v;

void
foo (void)
{
  V w = { k, k, k, k, k, k, k, k };
  V x = v >> w;
}