PR c++/72868
commit83c375ba52c21d537c497f297c554deba35f711b
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Aug 2016 15:59:53 +0000 (11 15:59 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Aug 2016 15:59:53 +0000 (11 15:59 +0000)
tree027726bc499da9489020e6e7087cd82393284aff
parent350f354acdd2224797f93a979fff38cb631548a3
PR c++/72868
* constexpr.c (label_matches): Handle case range expressions.

* g++.dg/cpp1y/constexpr-switch4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239379 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/constexpr-switch4.C [new file with mode: 0644]