1 /* Make sure Objective-C++ can distinguish ObjC classes from C++ classes. */
2 /* Author: Ziemowit Laski <zlaski@apple.com> */
4 /* { dg-do compile } */
6 #include "../objc-obj-c++-shared/Object1.h"
10 @interface iostream: Object
14 id i = [std::iostream new]; /* { dg-warning "not an Objective\\-C class name or alias" } */
16 i = [std::basic_string<char> new]; /* { dg-warning "not an Objective\\-C class name or alias" } */