repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-pmf2.C
blob
0fac8333c75359a2dc8f4e89b18ecdcc090d19ae
1
// PR c++/113598
2
// { dg-additional-options -Wno-c++11-extensions }
3
4
struct Cpu
5
{
6
int op_nop();
7
};
8
typedef int(Cpu::*OpCode)();
9
void f()
10
{
11
new OpCode[256]{&Cpu::op_nop};
12
}