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
In gcc/objc/:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
objc.dg
/
comp-types-10.m
diff --git
a/gcc/testsuite/objc.dg/comp-types-10.m
b/gcc/testsuite/objc.dg/comp-types-10.m
index
8cd5340
..
3d85983
100644
(file)
--- a/
gcc/testsuite/objc.dg/comp-types-10.m
+++ b/
gcc/testsuite/objc.dg/comp-types-10.m
@@
-1,6
+1,6
@@
/* { dg-do compile } */
-#include
<objc/Object.h>
+#include
"../objc-obj-c++-shared/Object1.h"
@protocol Foo
- (id)meth1;
@@
-25,4
+25,3
@@
id<Foo> func(void) {
return o; /* { dg-warning "distinct Objective\\-C type in return" } */
}
@end
-