From cc24a60e9564353f792539279a8bfa291455c7d0 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Tue, 17 Aug 2004 08:30:54 +0000 Subject: [PATCH] * gcc.dg/darwin-20040812-1.c: Compile only on darwin. From-SVN: r86113 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/darwin-20040812-1.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0f65b738180..a4952b1268c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-08-17 Andrew Pinski + + * gcc.dg/darwin-20040812-1.c: Compile only on darwin. + 2004-08-17 Paolo Bonzini * gcc.dg/pr17036-1.c: New test. diff --git a/gcc/testsuite/gcc.dg/darwin-20040812-1.c b/gcc/testsuite/gcc.dg/darwin-20040812-1.c index 9b2b79429c6..4ae8657ba0d 100644 --- a/gcc/testsuite/gcc.dg/darwin-20040812-1.c +++ b/gcc/testsuite/gcc.dg/darwin-20040812-1.c @@ -1,7 +1,7 @@ /* Test dead code strip support. */ /* Contributed by Devang Patel */ -/* { dg-do compile } */ +/* { dg-do compile { target *-*-darwin* } } */ const char my_version_string[] __attribute__((__used__)) = "Do not remove this string\n"; -- 2.30.2