packed1.C: Expect warning on the SH.

* g++.dg/abi/packed1.C: Expect warning on the SH.

From-SVN: r157113
This commit is contained in:
Kaz Kojima 2010-02-27 22:14:51 +00:00
parent baae602ec0
commit 812be315ca
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2010-02-27 Kaz Kojima <kkojima@gcc.gnu.org>
* g++.dg/abi/packed1.C: Expect warning on the SH.
2010-02-27 Simon Martin <simartin@users.sourceforge.net>
PR c++/42054:

View file

@ -4,7 +4,7 @@
extern "C" void abort ();
struct INNER { // { dg-warning "inefficient.*vptr" "" { target ia64-*-* hppa*-*-* sparc*-*-* } }
struct INNER { // { dg-warning "inefficient.*vptr" "" { target ia64-*-* hppa*-*-* sparc*-*-* sh*-*-* } }
virtual int foo() const { return 1; }
} __attribute__ ((packed));