Update g++.dg/cpp0x/gen-attrs-{8,36,37}.C as c++11 attributes to types are ignored
authorDodji Seketeli <dodji@redhat.com>
Wed, 10 Oct 2012 10:24:50 +0000 (10:24 +0000)
committerDodji Seketeli <dodji@gcc.gnu.org>
Wed, 10 Oct 2012 10:24:50 +0000 (12:24 +0200)
commitd072812eb51d021d887430459b60a5b627eae7f3
tree0a54832ae19de1be2f0e1b368cfaa2c6e22445a1
parentd32350e7a5eb5d31aaa1643dbc9db569fbc59b49
Update g++.dg/cpp0x/gen-attrs-{8,36,37}.C as c++11 attributes to types are ignored

The current implementation of C++11 attributes forbids them from being
applied to a type unless the type is being declared.  I forgot to
adjust g++.dg/cpp0x/gen-attrs-{8,36,37}.C that was being run only on
ia32.

Fixed thus, tested on i386-unknown-linux-gnu and
x86_64-unknown-linux-gnu against trunk.

gcc/testsuite/

* g++.dg/cpp0x/gen-attrs-8.C: Update the test to reflect the fact
that c++11 attributes to types are ignored for now.
* g++.dg/cpp0x/gen-attrs-36.C: Likewise.
* g++.dg/cpp0x/gen-attrs-37.C: Likewise

From-SVN: r192300
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/gen-attrs-36.C
gcc/testsuite/g++.dg/cpp0x/gen-attrs-37.C
gcc/testsuite/g++.dg/cpp0x/gen-attrs-8.C