OSDN Git Service

* c-pretty-print.c (pp_c_specifier_qualifier_list) [VECTOR_TYPE]:
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / other / pr22003.C
1 /* PR rtl-optimization/22003 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target freorder } */
4 /* { dg-options "-O2 -fno-exceptions -freorder-blocks-and-partition" } */
5
6 struct c1
7 {
8       virtual ~c1();
9 };
10 class c4;
11
12 struct c2
13 {
14       virtual c4* func();
15 };
16
17 struct c3 : c1, c2
18 {
19       c4* func();
20 };
21
22 c4* c3::func()
23 {
24 }
25