Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr71248.C
blob: e996351a348951e67bf4a1ae0bfc8ad05671d49f [
file
] [
log
] [
blame
]
// PR c++/71248
// { dg-do compile { target c++11 } }
struct
S
{
int
a
;
static
int
S
::*
typeMembers
[]
=
{
// { dg-error "20:in-class initialization" }
&
S
::
a
,
};
};