blob: cec7b7bea2bee697866286b77e862191c64f908b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// 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<>();
}
|