blob: b718d134b2b4f26ebd2e23e6706ad646cf76e46b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// PR c++/67003
// { dg-do compile { target c++17_only } }
// { dg-options "-fconcepts-ts" }
namespace X {
template<class>
concept bool C = true;
}
X::C{T}
void foo() {}
int main() { foo<int>(); }
|