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
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
bad-receiver-type.mm
blob
1d6699f99c5846a1a6d60bd9b5edd2fc3b7d93c0
1
// { dg-do compile }
2
// { dg-options "" }
3
4
@interface A
5
6
- (void)test;
7
8
@end
9
10
extern int foo();
11
12
void baz()
13
{
14
[foo test]; /* { dg-warning "invalid receiver type" } */
15
}