re PR middle-end/71387 (ICE in emit_move_insn, at expr.c:3418 with -Og)
[platform/upstream/gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist81.C
1 // PR c++/60713
2 // { dg-options "-O" }
3 // { dg-do compile { target c++11 } }
4
5 template < class x0, class x1, class x2, class x3, class x4 >
6 int *x5 (x0 *, x2 (x1::*)(x3, x4));
7
8 class x6
9 {
10     void x7 ();
11     struct x8
12     {
13         int *x9;
14     };
15     void x10 (x8);
16     void x11 (int *, int *);
17 };
18
19 void
20 x6::x7 ()
21 {
22     x10 ({
23         x5 (this, &x6::x11)
24     });
25 }