☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
deduction-constraint1.C
☽
☼
gcc/testsuite/g++.dg/concepts/deduction-constraint1.C
code
plain
raw
1
// PR c++/67007
2
// { dg-do compile { target c++20 } }
3
4
template <class U>
5
concept A =
6
requires (U u) { u; };
7
8
template <class T>
9
concept B =
10
requires (T t) { { t } -> A; };
11
12
void foo(B auto);