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

Unified Diff: gcc/gcc/testsuite/objc.dg/desig-init-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/const-str-9.m ('k') | gcc/gcc/testsuite/objc.dg/dwarf-2.m » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
« no previous file with comments | « gcc/gcc/testsuite/objc.dg/const-str-9.m ('k') | gcc/gcc/testsuite/objc.dg/dwarf-2.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698