_Pragma6.c: Fix comment.
* gcc.dg/cpp/_Pragma6.c: Fix comment. Test is not supported on sh*-unknown-elf nor sh*-superh-elf. * g++.dg/cpp/_Pragma1.C: Likewise. From-SVN: r114680
This commit is contained in:
parent
82460c7576
commit
11f7dd15f1
|
@ -1,7 +1,8 @@
|
|||
// PR c++/27748
|
||||
// This is supposed to succeed only if
|
||||
// the target doesn't define HANDLE_PRAGMA_PACK_WITH_EXPANSION.
|
||||
// { dg-do compile { target { ! *-*-solaris2* } } }
|
||||
// the target defines HANDLE_PRAGMA_PACK_PUSH_POP
|
||||
// and doesn't define HANDLE_PRAGMA_PACK_WITH_EXPANSION.
|
||||
// { dg-do compile { target { ! { *-*-solaris2* sh*-[us]*-elf } } } }
|
||||
|
||||
#define push bar
|
||||
#define foo _Pragma ("pack(push)")
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
/* PR c/27747 */
|
||||
/* This is supposed to succeed only if
|
||||
the target doesn't define HANDLE_PRAGMA_PACK_WITH_EXPANSION. */
|
||||
/* { dg-do compile { target { ! *-*-solaris2* } } } */
|
||||
the target defines HANDLE_PRAGMA_PACK_PUSH_POP
|
||||
and doesn't define HANDLE_PRAGMA_PACK_WITH_EXPANSION. */
|
||||
/* { dg-do compile { target { ! { *-*-solaris2* sh*-[us]*-elf } } } } */
|
||||
|
||||
#define push bar
|
||||
#define foo _Pragma ("pack(push)")
|
||||
|
|
Loading…
Reference in New Issue