summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/vect/pr45470-a.cc
blob: 474f3d6479c51e46b193330946943d969f51ee8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* { dg-do compile } */
/* { dg-options "-O1 -ftree-vectorize -fnon-call-exceptions" } */

struct A
{
  A (): a (0), b (0), c (0)
  {
  };
  ~A ();
  int a, b, c;
};

struct B
{
  B ();
  A a1;
  A a2;
};

B::B ()
{
}

/* { dg-final { cleanup-tree-dump "vect" } } */