☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
nontype-class-defarg1.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/nontype-class-defarg1.C
code
plain
raw
1
// PR c++/98810
2
// { dg-do compile { target c++20 } }
3
4
template <auto> struct a {};
5
template <int i, a <i> s = a <i> {}> using b = a <s>;
6
template <int i> constexpr auto g (const b <i> &) { return true; };