OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR c++/41970
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
objc.dg
/
comp-types-4.m
diff --git
a/gcc/testsuite/objc.dg/comp-types-4.m
b/gcc/testsuite/objc.dg/comp-types-4.m
index
e077804
..
f15390a
100644
(file)
--- 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