Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
obj-c++.dg
/
bad-receiver-type.mm
blob: 9c00a068168f4baa94e2a2c277e75db90d230299 [
file
] [
log
] [
blame
]
// { dg-do compile }
// { dg-options "" }
// { dg-additional-options "-Wno-objc-root-class" }
@interface
A
-
(
void
)
test
;
@end
extern
int
foo
();
void
baz
()
{
[
foo test
];
/* { dg-warning "invalid receiver type" } */
}