☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
explicit17.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/explicit17.C
code
plain
raw
1
// PR c++/99844
2
// { dg-do compile { target c++20 } }
3
4
template <bool... B>
5
struct S {
6
constexpr explicit(B) S() {} // { dg-error "parameter packs not expanded" }
7
};
8
9
constexpr S<true> s;