aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/pr70501.C
blob: 901b3c1b5a29fa4439a7d8e28e89b29a8b253cf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-options "" } Not pedantic */

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

struct S { v4si v; };

void
fn2 (int i, int j)
{
  struct S s = { .v = i <= j + (v4si){(1, 2)} };
}