☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr71248.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/pr71248.C
code
plain
raw
1
// PR c++/71248
2
// { dg-do compile { target c++11 } }
3
4
struct S
5
{
6
int a;
7
static int S::*typeMembers[] = { // { dg-error "20:in-class initialization" }
8
&S::a,
9
};
10
};