5 #include "../objc-obj-c++-shared/TestsuiteObject.h"
8 @interface Greeter : TestsuiteObject
9 - (void) greet: (const char *)msg;
12 @implementation Greeter
13 - (void) greet: (const char *)msg { std::cout << msg; }
19 std::cout << "Hello from C++\n";
20 Greeter *obj = [Greeter new];
21 [obj greet: "Hello from Objective-C\n"];
24 /* { dg-final { scan-assembler-not "L_objc_msgSend\\\$non_lazy_ptr" } } */