(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
nsdmi-template7.C
// PR c++/58725
// { dg-do compile { target c++11 } }

struct A {
    template<int=0>
    struct B {
        struct C {
            int x = 0;
            double y = x;
        } c;
    };
};
int main() {
    A::B<>();
}