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

Unified Diff: gcc/gcc/testsuite/obj-c++.dg/defs.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-scope-2.mm ('k') | gcc/gcc/testsuite/obj-c++.dg/dg.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/obj-c++.dg/defs.mm
diff --git a/gcc/gcc/testsuite/obj-c++.dg/defs.mm b/gcc/gcc/testsuite/obj-c++.dg/defs.mm
index 3027985ed0c98e6f5e521f2c0d3d31678ba5a437..0e8b26c72a6485a6c4ba1e404284ef4c6ac12faa 100644
--- a/gcc/gcc/testsuite/obj-c++.dg/defs.mm
+++ b/gcc/gcc/testsuite/obj-c++.dg/defs.mm
@@ -1,14 +1,13 @@
/* Check @defs() in Objective-C++ */
/* Contributed by Devang Patel <dpatel@apple.com> */
-
-/* { dg-options "-lobjc" } */
+/* { dg-options "" } */
/* { dg-do run } */
-
+/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
+#include "../objc-obj-c++-shared/Object1.h"
#include <stdlib.h>
#include <objc/objc.h>
-#include <objc/Object.h>
-extern void abort(void);
+extern "C" void abort(void);
@interface A : Object
{
@@ -41,3 +40,4 @@ int main()
return 0;
}
+#include "../objc-obj-c++-shared/Object1-implementation.h"
« no previous file with comments | « gcc/gcc/testsuite/obj-c++.dg/cxx-scope-2.mm ('k') | gcc/gcc/testsuite/obj-c++.dg/dg.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698