_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:
Joern Rennecke 2006-06-15 17:36:21 +01:00
parent 82460c7576
commit 11f7dd15f1
2 changed files with 6 additions and 4 deletions

View File

@ -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)")

View File

@ -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)")