PR c++/85062 - ICE with alignas in wrong place.
authorJason Merrill <jason@redhat.com>
Mon, 26 Mar 2018 16:30:41 +0000 (12:30 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 26 Mar 2018 16:30:41 +0000 (12:30 -0400)
commit125c297c69ffe620caa66a9aed3db6287b8f5b33
treef2b65bc603ccf55e1ab67954e6ff588c9355b0d6
parentddd5c5b7c66a934bb54e4acdddad08a4191d6043
PR c++/85062 - ICE with alignas in wrong place.

* decl.c (grokdeclarator): Ignore attributes on type-specifiers
here.

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