| 1 |
// { dg-do compile { target c++17 } } |
| 2 |
// { dg-options "-fconcepts" } |
| 3 |
|
| 4 |
// Make sure that we check partial concept ids |
| 5 |
// with variable concepts. |
| 6 |
|
| 7 |
template<class A, class B> |
| 8 |
concept C = true; |
| 9 |
|
| 10 |
template<C<int> D> |
| 11 |
struct E |
| 12 |
{ |
| 13 |
int f = 0; |
| 14 |
}; |
| 15 |
|
| 16 |
E<double> e; |