Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
anon-struct8.C
blob: f4e3f11b6789c01192e3020b5360bcf7547e35e5 [
file
] [
log
] [
blame
]
// { dg-options "" }
struct
A
{
};
struct
B
{
struct
:
A
{
int
i
;
};
// { dg-error "anonymous struct with base" }
};
union
U
{
struct
:
A
{
int
i
;
};
// { dg-error "anonymous struct with base" }
};