https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100205
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:8c114759b8c9c9e2ec90b82d92a24b5a71647017 commit r12-886-g8c114759b8c9c9e2ec90b82d92a24b5a71647017 Author: Jason Merrill <ja...@redhat.com> Date: Tue May 18 12:18:56 2021 -0400 c++: non-static member, decltype, {} [PR100205] This test was fixed by my second patch for PR93314, which distinguishes between constant-expression and potentially-constant-evaluated contexts in a way that my first patch did not. PR c++/100205 PR c++/99314 gcc/testsuite/ChangeLog: * g++.dg/cpp0x/decltype-nonstatic1.C: New test.