blob: 2de2aa4da940a5665ea96aa9cf7c41a331f9f9b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// { dg-options "-std=c++17 -fconcepts" }
template<typename T>
concept bool C() { return __is_class(T); }
template<C T> using X = T*;
struct S { };
int main()
{
X<S> x1;
}
|