PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / objc.dg / bad-receiver-type.m
blob062a56c9f62ddcc08b0298bedecd7082a980d9b2
1 /* { dg-do compile } */
3 @interface A
5 - (void)test; 
7 @end
9 extern int foo();
11 void baz()
13     [foo test]; /* { dg-warning "invalid receiver type" } */ 
14                 /* { dg-error "cannot convert to a pointer type" "" { target *-*-* } .-1 } */