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

Unified Diff: gcc/gcc/testsuite/objc.dg/lookup-1.m

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/objc.dg/isa-field-1.m ('k') | gcc/gcc/testsuite/objc.dg/method-11.m » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/objc.dg/lookup-1.m
diff --git a/gcc/gcc/testsuite/objc.dg/lookup-1.m b/gcc/gcc/testsuite/objc.dg/lookup-1.m
index 71fc61ea04ef9cdaa0442d0bce0b7597fe46a220..ff59b7efba98fa20168d6d5832e402febff46e06 100644
--- a/gcc/gcc/testsuite/objc.dg/lookup-1.m
+++ b/gcc/gcc/testsuite/objc.dg/lookup-1.m
@@ -1,7 +1,8 @@
-/* { dg-do run { target *-*-darwin* } } */
+/* { dg-do run } */
+/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
-#include <objc/Object.h>
#include <stdlib.h>
+#include "../objc-obj-c++-shared/Object1.h"
typedef struct MyWidget {
int a;
@@ -35,7 +36,7 @@ MyWidget gWidget = { 17 };
@implementation Container
+ (MyWidget *)elementForView:(Foo *)view
{
- MyWidget *widget = nil;
+ MyWidget *widget = (MyWidget *) nil;
if ([view conformsTo:@protocol(MyProto)]) {
widget = [(Foo <MyProto> *)view widget];
}
@@ -52,3 +53,5 @@ int main(void) {
return 0;
}
+
+#include "../objc-obj-c++-shared/Object1-implementation.h"
« no previous file with comments | « gcc/gcc/testsuite/objc.dg/isa-field-1.m ('k') | gcc/gcc/testsuite/objc.dg/method-11.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698