PR c++/92134 - constinit malfunction in static data member.
I wasn't properly setting LOOKUP_CONSTINIT in grokfield and so we didn't detect a non-const initializer. * decl2.c (grokfield): Set LOOKUP_CONSTINIT. * g++.dg/cpp2a/constinit14.C: New test. From-SVN: r277636
Showing
gcc/testsuite/g++.dg/cpp2a/constinit14.C
0 → 100644
Please
register
or
sign in
to comment