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
Warn pointer to signed integer cast for ilp32
[official-gcc.git]
/
gcc
/
testsuite
/
objc.dg
/
bad-receiver-type.m
blob
8ab296257db8d41317e50836d7fece9d43f634d4
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
}