summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/threedotthree-abi-1.m
diff options
context:
space:
mode:
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-30 09:40:11 +0000
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-30 09:40:11 +0000
commitbd72e3e2262af79202ce8b43c873edd372636a14 (patch)
tree44591bf933bcb9bd5ef88993939914f51af605a8 /gcc/testsuite/objc.dg/threedotthree-abi-1.m
parent45cbadf0ff1127b5f3383737f470051559a4a9c4 (diff)
downloadgcc-bd72e3e2262af79202ce8b43c873edd372636a14.tar.gz
PR objc/45842
* objc.dg/threedotthree-abi-1.m: Only apply at m32. * objc.dg/const-str-3.m: Correct header for memcpy. * objc.dg/const-str-7.m: Likewise. * objc.dg/method-20b.m: Provide an implementation of Object. Adjust XFAIL for m64 NeXT runtime. * objc.dg/const-str-12b.m: Use mapped data types Darwin >= 9. * objc.dg/encode-3.m: Correct line ordering, provide header for sprintf. * objc.dg/encode-7-next.m: Only run for 32bit. * objc.dg/encode-7-next-64bit.m: Only run for 64bit. * objc.dg/type-size-2.m: Provide an implementation of Object. Ajust headers. * obj-c++.dg/const-str-7.mm: Correct header for memcpy. * obj-c++.dg/const-str-12.mm: Use mapped data types Darwin >= 9. * obj-c++.dg/method-23.mm: Provide an implementation of Object. Adjust XFAIL for m64 NeXT runtime. * obj-c++.dg/method-22.mm: Likewise. * obj-c++.dg/threedotthree-abi-1.mm: Only apply at m32. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164747 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/objc.dg/threedotthree-abi-1.m')
-rw-r--r--gcc/testsuite/objc.dg/threedotthree-abi-1.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/testsuite/objc.dg/threedotthree-abi-1.m b/gcc/testsuite/objc.dg/threedotthree-abi-1.m
index 8e4f2bed174..5eb00014e7e 100644
--- a/gcc/testsuite/objc.dg/threedotthree-abi-1.m
+++ b/gcc/testsuite/objc.dg/threedotthree-abi-1.m
@@ -1,14 +1,15 @@
/* This file tests that things are encoded using the gcc-3.3 ABI which is only
used by the NeXT runtime. */
/* { dg-do run { target *-*-darwin* } } */
+/* { dg-require-effective-target ilp32 } */
/* { dg-skip-if "" { *-*-* } { "-fgnu-runtime" } { "" } } */
+
+#include "../objc-obj-c++-shared/Protocol1.h"
#include <stdio.h>
#include <string.h>
-#include "../objc-obj-c++-shared/Protocol1.h"
extern void abort();
-
@protocol CommonProtocol
-(oneway void)methodCall_On:(in bycopy id)someValue_On;