(root)/
gcc-13.2.0/
gcc/
testsuite/
obj-c++.dg/
bad-receiver-type.mm
// { 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" } */
}