2 // { dg-do compile { target c++20 } }
3 template <typename T> struct x {
4 template <typename U> struct y { // { dg-note "original" }
12 struct x<int>::y { // { dg-error "different constraints" }
13 typedef double result2;
17 x<int>::y<int>::result2 xxx2;