☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
desig22.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/desig22.C
code
plain
raw
1
// PR c++/103337
2
// { dg-do compile { target c++20 } }
3
4
struct op_t {
5
struct put_t {
6
int x;
7
} put;
8
};
9
10
op_t x{0}; // OK
11
op_t y{.put=0}; // bogus error: 'op_t::put_t' has no non-static data member named 'put'