Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/nontype-class10.C

raw
1 // PR c++/88196
2 // { dg-do compile { target c++20 } }
3
4 struct C { C *c; };
5 template <C> struct D;
6 D <&C::c> d; // { dg-error "could not convert" }