aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/comp-types-4.m
diff options
context:
space:
mode:
author(no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-13 02:39:05 +0000
committer(no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-13 02:39:05 +0000
commit2a6548e7176f46a32f6b9e20b6f63fba38010605 (patch)
treebe6d723751681c540c471c7be223d19499cfd280 /gcc/testsuite/objc.dg/comp-types-4.m
parent780b7d9b87ddf306aa31c750d5eb9d96a9cb69ea (diff)
This commit was manufactured by cvs2svn to create tagobjc-improvements-candidate-20030915
'objc-improvements-candidate-20030915'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/tags/objc-improvements-candidate-20030915@71359 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/objc.dg/comp-types-4.m')
-rw-r--r--gcc/testsuite/objc.dg/comp-types-4.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/objc.dg/comp-types-4.m b/gcc/testsuite/objc.dg/comp-types-4.m
index e07780485ee..f15390a38d3 100644
--- a/gcc/testsuite/objc.dg/comp-types-4.m
+++ b/gcc/testsuite/objc.dg/comp-types-4.m
@@ -3,6 +3,11 @@
/* { dg-do compile } */
#include <objc/objc.h>
+/* The NeXT runtime headers do not define NULL. */
+#ifndef NULL
+#define NULL ((void *)0)
+#endif
+
@protocol MyProtocol
- (void) method;
@end