[gcn] install.texi: Update for new ISA targets and their requirements
[gcc.git] / gcc / testsuite / g++.dg / template / spec43.C
blobd33659dd5063974915d834eba0758903cee38355
1 // PR c++/115716
2 // { dg-do compile { target c++20 } }
3 template <typename T> struct x {
4   template <typename U> struct y { // { dg-note "original" }
5     typedef T result2;
6   };
7 };
9 template<>
10 template<typename U>
11 requires true
12 struct x<int>::y { // { dg-error "different constraints" }
13   typedef double result2;
16 int main() {
17   x<int>::y<int>::result2 xxx2;