_Pragma6.c: Fix comment.
authorJoern Rennecke <amylaar@gcc.gnu.org>
Thu, 15 Jun 2006 16:36:21 +0000 (17:36 +0100)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Thu, 15 Jun 2006 16:36:21 +0000 (17:36 +0100)
* 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

gcc/testsuite/g++.dg/cpp/_Pragma1.C
gcc/testsuite/gcc.dg/cpp/_Pragma6.c

index 25a79f8863e4f0fba61bbc99e3b87cf5f19d8ed3..5783af16f625a028e70470c7acc509aa6251d74b 100644 (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)")
index 369b334ae4427ba5dc7b5d6b2741e72a2335fceb..d43a53f1902079e1f964a24d5ecb23d997069455 100644 (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)")