| Index: gcc/gcc/testsuite/objc.dg/desig-init-1.m
|
| diff --git a/gcc/gcc/testsuite/objc.dg/desig-init-1.m b/gcc/gcc/testsuite/objc.dg/desig-init-1.m
|
| index 6ef710b51fff5863fbdc05c12903fdd0d00f226b..a07e72be14a28290814f6c2700cd6281820dfc9e 100644
|
| --- a/gcc/gcc/testsuite/objc.dg/desig-init-1.m
|
| +++ b/gcc/gcc/testsuite/objc.dg/desig-init-1.m
|
| @@ -1,13 +1,13 @@
|
| -/* Test Objective-C capability for handling GNU/C99 designated
|
| - initializers, and distinguishing them from message sends. */
|
| -/* Contributed by Ziemowit Laski <zlaski@apple.com>. */
|
| +/* Test Objective-C capability for handling GNU/C99 designated initializers, and distinguishing them
|
| + from message sends. Contributed by Ziemowit Laski <zlaski@apple.com>. */
|
| /* { dg-options "-std=gnu99" } */
|
| /* { dg-do run } */
|
| +/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
|
|
|
| +
|
| +#include "../objc-obj-c++-shared/Object1.h"
|
| #include <stdio.h>
|
| #include <stdlib.h>
|
| -#include <objc/objc.h>
|
| -#include <objc/Object.h>
|
|
|
| @interface Cls : Object
|
| + (int) meth1;
|
| @@ -47,3 +47,5 @@ int main(void) {
|
| /* { dg-warning "Messages without a matching method signature" "" { target *-*-* } 0 } */
|
| /* { dg-warning "will be assumed to return .id. and accept" "" { target *-*-* } 0 } */
|
| /* { dg-warning ".\.\.\.. as arguments" "" { target *-*-* } 0 } */
|
| +
|
| +#include "../objc-obj-c++-shared/Object1-implementation.h"
|
|
|