S/390: Fix problem with vec_init expander
[official-gcc.git] / gcc / testsuite / g++.dg / vec-init-1.C
blobf35d39c35ed2d3829e12aa6769f639ed547cce61
1 /* On S/390 this ends up calling the vec_init RTL expander with a
2    parallel of two symbol_refs.  */
4 /* { dg-do compile } */
5 /* { dg-options "-O3 -fPIC" } */
8 struct test
10     struct base
11     {
12        int key;
13     };
14     struct derived : public base
15     {
16        int key;
17     };
19     derived core;
20     derived &dRef;
21     base &bRef;
23     test() : dRef (core), bRef (core) {}
26 test test;