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
c++: Mark replaceable global operator new/delete with const std::nothrow_t& argument...
[official-gcc.git]
/
gcc
/
testsuite
/
objc.dg
/
bad-receiver-type.m
blob
062a56c9f62ddcc08b0298bedecd7082a980d9b2
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 *-*-* } .-1 } */
15
}