c++: non-static member, decltype, {} [PR100205]
authorJason Merrill <jason@redhat.com>
Tue, 18 May 2021 16:18:56 +0000 (12:18 -0400)
committerJason Merrill <jason@redhat.com>
Tue, 18 May 2021 19:44:24 +0000 (15:44 -0400)
commit8c114759b8c9c9e2ec90b82d92a24b5a71647017
tree105b07b559c6055d4c37002f8ddf38420a40abb8
parentf71ca97def69b8aeb046d716eaea2367736f505e
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.
gcc/testsuite/g++.dg/cpp0x/decltype-nonstatic1.C [new file with mode: 0644]