OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2010-07-29 Tobias Burnus <burnus@net-b.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
objc.dg
/
bad-receiver-type.m
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-error "cannot convert to a pointer type" "" { target *-*-* } 13 } */
15
}