summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Hastings <stuart@apple.com>2010-08-02 23:29:03 +0000
committerStuart Hastings <stuart@apple.com>2010-08-02 23:29:03 +0000
commit460a356bf6c795618f6c7f82abdb9ec54bff6817 (patch)
tree5fbdec20cb7b0682da694454a478a5fab76dc13b
parent75d8a32817556619c7ab8bcaac57e688c18dfe0b (diff)
downloadbcm5719-llvm-460a356bf6c795618f6c7f82abdb9ec54bff6817.tar.gz
bcm5719-llvm-460a356bf6c795618f6c7f82abdb9ec54bff6817.zip
Diabolical hack to make a test compatible with clang. (Thanks to Dale!) Radar 8246180.
llvm-svn: 110081
-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