diff options
author | Nicola Pero <nicola.pero@meta-innovation.com> | 2010-12-26 18:05:00 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2010-12-26 18:05:00 +0000 |
commit | 029b98c85fd1fed4838f3d4249aa39f9f12873e6 (patch) | |
tree | 26529a8d1d86affc219c3a8d96b6942327c3237a /gcc/testsuite/obj-c++.dg/gnu-api-2-object.mm | |
parent | fa539f518911a5dbc968cc19ac4efb4d47e92dca (diff) | |
download | gcc-029b98c85fd1fed4838f3d4249aa39f9f12873e6.zip gcc-029b98c85fd1fed4838f3d4249aa39f9f12873e6.tar.gz gcc-029b98c85fd1fed4838f3d4249aa39f9f12873e6.tar.bz2 |
In gcc/testsuite/: 2010-12-26 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/testsuite/:
2010-12-26 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/gnu-api-2-class.m: Updated the test to work with the
Apple runtime as well.
* obj-c++.dg/gnu-api-2-class.mm: Same change.
* objc.dg/gnu-api-2-ivar.m: Same change.
* obj-c++.dg/gnu-api-2-ivar.mm: Same change.
* objc.dg/gnu-api-2-method.m: Same change.
* obj-c++.dg/gnu-api-2-method.mm: Same change.
* objc.dg/gnu-api-2-objc.m: Same change.
* obj-c++.dg/gnu-api-2-objc.mm: Same change.
* objc.dg/gnu-api-2-object.m: Same change.
* obj-c++.dg/gnu-api-2-object.mm: Same change.
* objc.dg/gnu-api-2-property.m: Same change.
* obj-c++.dg/gnu-api-2-property.mm: Same change.
* objc.dg/gnu-api-2-protocol.m: Same change.
* obj-c++.dg/gnu-api-2-protocol.mm: Same change.
* objc.dg/gnu-api-2-objc.m: Also, fixed test for
objc_disposeClassPair not to create a new class pair with the same
name as an existing class, and to test that the class pair is
created correctly.
* obj-c++.dg/gnu-api-2-objc.mm: Same change.
From-SVN: r168252
Diffstat (limited to 'gcc/testsuite/obj-c++.dg/gnu-api-2-object.mm')
-rw-r--r-- | gcc/testsuite/obj-c++.dg/gnu-api-2-object.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/obj-c++.dg/gnu-api-2-object.mm b/gcc/testsuite/obj-c++.dg/gnu-api-2-object.mm index 2a54447..219cd3d 100644 --- a/gcc/testsuite/obj-c++.dg/gnu-api-2-object.mm +++ b/gcc/testsuite/obj-c++.dg/gnu-api-2-object.mm @@ -3,7 +3,6 @@ This is test 'object', covering all functions starting with 'object'. */ /* { dg-do run } */ -/* { dg-skip-if "" { *-*-* } { "-fnext-runtime" } { "" } } */ /* To get the modern GNU Objective-C Runtime API, you include objc/runtime.h. */ @@ -16,11 +15,13 @@ { Class isa; } + alloc; - init; ++ initialize; @end @implementation MyRootClass + alloc { return class_createInstance (self, 0); } - init { return self; } ++ initialize { return self; } @end @protocol MyProtocol |