Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist-pmf2.C
blob0fac8333c75359a2dc8f4e89b18ecdcc090d19ae
1 // PR c++/113598
2 // { dg-additional-options -Wno-c++11-extensions }
4 struct Cpu
6   int op_nop();
7 };
8 typedef int(Cpu::*OpCode)();
9 void f()
11   new OpCode[256]{&Cpu::op_nop};