Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
enum7.C
blob: d9e3a89d72e4d9a7f2e60d9c2f2307282223fe29 [
file
] [
log
] [
blame
]
// PR c++/51588
enum
A
{};
struct
B
:
A
{
// { dg-error "" }
int
i
;
};
int
A
::*
p
=
&
B
::
i
;
// { dg-error "" }