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
2007-03-01 Paul Brook <paul@codesourcery.com>
[official-gcc.git]
/
gcc
/
testsuite
/
objc.dg
/
bad-receiver-type.m
blob
36f4cf3e433525c6226d8233c209e7d5bdc797b6
1
/* { dg-do compile } */
2
3
@interface A
4
5
- (void)test;
6
7
@end
8
9
extern int foo();
10
11
void baz()
12
{
13
[foo test]; /* { dg-warning "invalid receiver type" } */
14
/* { dg-warning "cannot convert to a pointer type" "" { target *-*-* } 13 } */
15
}