Sign in
gnu
/
gcc
/
a25982ada523689c8745d7fb4b1b93c8f5dab2e7
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
desig22.C
blob: ba083f8e3d5d778e6002203c1d603d2c9f84587a [
file
] [
log
] [
blame
]
// PR c++/103337
// { dg-do compile { target c++20 } }
struct
op_t
{
struct
put_t
{
int
x
;
}
put
;
};
op_t
x
{
0
};
// OK
op_t
y
{.
put
=
0
};
// bogus error: 'op_t::put_t' has no non-static data member named 'put'