aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/concepts-placeholder11.C
blob: 61eef743bae8bbe5cef0e47c44ca5449d9e0ff73 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/107188
// { dg-do compile { target c++20 } }

namespace N {
  template<class, class> concept C = true;
}

struct X {
  N::C<int> auto f() { return 0; }
};