summaryrefslogtreecommitdiffstats
path: root/llvm/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm')
-rw-r--r--llvm/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm b/llvm/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm
index 216286302ca..298844e97b5 100644
--- a/llvm/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm
+++ b/llvm/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];
}
OpenPOWER on IntegriCloud