☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
class-deduction-alias6.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/class-deduction-alias6.C
code
plain
raw
1
// PR c++/93295
2
// { dg-do compile { target c++20 } }
3
4
template<typename T, bool B = false>
5
struct Foo {
6
Foo(T) {}
7
};
8
9
template<typename T> Foo(T) -> Foo<T>;
10
template<typename T> using Bar = Foo<T, true>;
11
Bar b{0};