diff options
-rw-r--r-- | test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm b/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm index 216286302c..298844e97b 100644 --- a/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm +++ b/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm @@ -18,6 +18,9 @@ public: TWindowHistoryEntry* entry; TFENodeVector newPath; // CHECK: setting a C++ non-POD object value is not implemented +#ifdef __clang__ +#error setting a C++ non-POD object value is not implemented +#endif entry.targetPath = newPath; [entry setTargetPath:newPath]; } |