Check that asm specs are handled correctly in structure and class field declarations.
authorRobert Bowdidge <bowdidge@gcc.gnu.org>
Tue, 21 Oct 2003 23:45:26 +0000 (16:45 -0700)
committerRobert Bowdidge <bowdidge@gcc.gnu.org>
Tue, 21 Oct 2003 23:45:26 +0000 (16:45 -0700)
commitc599a7afeaaf36fcef77e1a2f9537579254efd7b
treef1ea21b9a14102908ffddd672d444f9726494cce
parente3939998cf09380d0b5f114aa4f79ae92e6b02a2
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.

From-SVN: r72777
gcc/testsuite/g++.dg/ext/asmspecInvalid.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/asmspecValid.C [new file with mode: 0644]