Check that asm specs are handled correctly in structure and class field declarations.
authorbowdidge <bowdidge@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Oct 2003 23:45:26 +0000 (23:45 +0000)
committerbowdidge <bowdidge@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Oct 2003 23:45:26 +0000 (23:45 +0000)
commitad0a61b537556c2c5a4c1417a2f2001b18992ef8
treef1ea21b9a14102908ffddd672d444f9726494cce
parent75942532914a6956e48702b286f6b7c666a89c21
Check that asm specs are handled correctly in structure and class field declarations.
Correct behavior is that these are permitted on static fields (because only one
instance exists) and are not permitted on non-static fields.  In the case of
static fields, check to make sure the assembler output shows the aliased name
somewhere.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72777 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/g++.dg/ext/asmspecInvalid.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/asmspecValid.C [new file with mode: 0644]