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