Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/nontype-class-defarg1.C

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; };