DR 1688 PR c++/65327
authorMarek Polacek <polacek@redhat.com>
Mon, 16 Mar 2015 18:30:49 +0000 (18:30 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 16 Mar 2015 18:30:49 +0000 (18:30 +0000)
commitec638c5590b4e7c278c5b624c490fffad38bc639
tree978d3dfb35438dd93e7de5f24704e52ea56efe52
parentde6d3593367a76ee33fe4c27c00daac1558ebf73
DR 1688 PR c++/65327

DR 1688
PR c++/65327
* decl.c (grokdeclarator): Allow volatile and constexpr together.

* g++.dg/cpp0x/constexpr-object1.C: Change dg-error to dg-bogus.
* g++.dg/cpp0x/pr65327.C: New test.

From-SVN: r221463
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-object1.C
gcc/testsuite/g++.dg/cpp0x/pr65327.C [new file with mode: 0644]