In gcc/testsuite/:
2010-10-07 Nicola Pero <nicola.pero@meta-innovation.com>
PR objc++/23614
* obj-c++.dg/lookup-2.mm: Do not assign 'nil' to a pointer to a
C++ class. Removed XFAIL.
From-SVN: r165137
+2010-10-07 Nicola Pero <nicola.pero@meta-innovation.com>
+
+ PR objc++/23614
+ * obj-c++.dg/lookup-2.mm: Do not assign 'nil' to a pointer to a
+ C++ class. Removed XFAIL.
+
2010-10-07 Janus Weil <janus@gcc.gnu.org>
PR fortran/45933
/* { dg-do run } */
-/* { dg-xfail-if "PR23614" { "*-*-*" } { "*" } { "-fnext-runtime" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
#include "../objc-obj-c++-shared/Object1.h"
#include <stdlib.h>
@implementation Container
+ (MyWidget *)elementForView:(Foo *)view
{
- MyWidget *widget = nil;
+ MyWidget *widget = 0;
if ([view conformsTo:@protocol(MyProto)]) {
widget = [(Foo <MyProto> *)view widget];
}