☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
class-deduction-alias16.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/class-deduction-alias16.C
code
plain
raw
1
// PR c++/109321
2
// { dg-do compile { target c++20 } }
3
4
struct A;
5
template<class C1> struct B;
6
template<class, class C2=A> using D = B<C2>;
7
void f () { D() = 0; } // { dg-error "deduction failed|no match" }