]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/obj-c++.dg/bad-receiver-type.mm
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / obj-c++.dg / bad-receiver-type.mm
1 // { dg-do compile }
2 // { dg-options "" }
3
4 @interface A
5
6 - (void)test;
7
8 @end
9
10 extern int foo();
11
12 void baz()
13 {
14 [foo test]; /* { dg-warning "invalid receiver type" } */
15 }
This page took 0.036859 seconds and 5 git commands to generate.