Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(465)

Unified Diff: gcc/gcc/testsuite/obj-c++.dg/cxx-ivars-2.mm

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/obj-c++.dg/cxx-class-1.mm ('k') | gcc/gcc/testsuite/obj-c++.dg/cxx-scope-2.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/obj-c++.dg/cxx-ivars-2.mm
diff --git a/gcc/gcc/testsuite/obj-c++.dg/cxx-ivars-2.mm b/gcc/gcc/testsuite/obj-c++.dg/cxx-ivars-2.mm
index 3a6df79ab4c39bc1bbdc5b4f87f5b5ca67a0bfd8..8f836ce9061a201ac06a5eebb253cb8327836ab7 100644
--- a/gcc/gcc/testsuite/obj-c++.dg/cxx-ivars-2.mm
+++ b/gcc/gcc/testsuite/obj-c++.dg/cxx-ivars-2.mm
@@ -1,10 +1,12 @@
// Check if the '- .cxx_construct' and '-.cxx_destruct' methods get called
// and if they perform their desired function.
-// { dg-do run { xfail { "*-*-*" } } } PR27247/PR23681
+// { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } }
+// { dg-do run { target *-*-darwin* } }
+// { dg-skip-if "" { *-*-* } { "-fgnu-runtime" } { "" } }
// { dg-options "-fobjc-call-cxx-cdtors" }
-#include <objc/Object.h>
+#include "../objc-obj-c++-shared/Object1.h"
#include <stdlib.h>
#define CHECK_IF(expr) if(!(expr)) abort()
@@ -74,3 +76,4 @@ int main (void)
[foo free];
CHECK_IF(!ctor1_called && !ctor2_called && dtor1_called);
}
+#include "../objc-obj-c++-shared/Object1-implementation.h"
« no previous file with comments | « gcc/gcc/testsuite/obj-c++.dg/cxx-class-1.mm ('k') | gcc/gcc/testsuite/obj-c++.dg/cxx-scope-2.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698