aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2005-05-27 03:36:42 +0000
committerMike Stump <mrs@gcc.gnu.org>2005-05-27 03:36:42 +0000
commit1b258d2f9475405d025c43785cc398e64826fd59 (patch)
treec7bcbcf5ce3ca6cbac8f041eaca0c853577dd219 /gcc/testsuite/objc.dg
parentc46bc0e2c76a7a333785108aff3bee05418fc342 (diff)
downloadgcc-1b258d2f9475405d025c43785cc398e64826fd59.zip
gcc-1b258d2f9475405d025c43785cc398e64826fd59.tar.gz
gcc-1b258d2f9475405d025c43785cc398e64826fd59.tar.bz2
isa-field-1.m: Only run on darwin.
* objc.dg/isa-field-1.m: Only run on darwin. * objc.dg/lookup-1.m: Likewise. * objc.dg/try-catch-8.m: Likewise. From-SVN: r100242
Diffstat (limited to 'gcc/testsuite/objc.dg')
-rw-r--r--gcc/testsuite/objc.dg/isa-field-1.m2
-rw-r--r--gcc/testsuite/objc.dg/lookup-1.m2
-rw-r--r--gcc/testsuite/objc.dg/try-catch-8.m2
3 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/objc.dg/isa-field-1.m b/gcc/testsuite/objc.dg/isa-field-1.m
index 70edd0e..6398b60 100644
--- a/gcc/testsuite/objc.dg/isa-field-1.m
+++ b/gcc/testsuite/objc.dg/isa-field-1.m
@@ -1,5 +1,5 @@
/* Ensure there are no bizarre difficulties with accessing the 'isa' field of objects. */
-/* { dg-do compile } */
+/* { dg-do compile { target *-*-darwin* } } */
#include <objc/Object.h>
diff --git a/gcc/testsuite/objc.dg/lookup-1.m b/gcc/testsuite/objc.dg/lookup-1.m
index eaabcb2..71fc61e 100644
--- a/gcc/testsuite/objc.dg/lookup-1.m
+++ b/gcc/testsuite/objc.dg/lookup-1.m
@@ -1,4 +1,4 @@
-/* { dg-do run } */
+/* { dg-do run { target *-*-darwin* } } */
#include <objc/Object.h>
#include <stdlib.h>
diff --git a/gcc/testsuite/objc.dg/try-catch-8.m b/gcc/testsuite/objc.dg/try-catch-8.m
index 384faa3..1e5230e 100644
--- a/gcc/testsuite/objc.dg/try-catch-8.m
+++ b/gcc/testsuite/objc.dg/try-catch-8.m
@@ -3,7 +3,7 @@
/* Developed by Ziemowit Laski <zlaski@apple.com>. */
/* { dg-options "-fobjc-exceptions -O2" } */
-/* { dg-do run } */
+/* { dg-do run { target *-*-darwin* } } */
#include <objc/Object.h>
#include <stdlib.h>