Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
,
};
};