repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
./:
[official-gcc.git]
/
gcc
/
testsuite
/
objc.dg
/
comp-types-11.m
blob
b041759ca65a3b16f55025db9b77acdd49d196a0
1
/* { dg-do compile } */
2
#include <objc/Object.h>
3
4
@interface Derived: Object
5
@end
6
7
extern Object* foo(void);
8
static Derived *test(void)
9
{
10
Derived *m = foo(); /* { dg-warning "initialization from distinct Objective\\-C type" } */
11
12
return m;
13
}
14