From: Stuart Hastings Date: Mon, 2 Aug 2010 23:29:03 +0000 (+0000) Subject: Diabolical hack to make a test compatible with clang. (Thanks to Dale!) Radar 8246180. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8eab2c2f54d16f518a36eadc3c0d16fea6d75127;p=oota-llvm.git Diabolical hack to make a test compatible with clang. (Thanks to Dale!) Radar 8246180. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110081 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm b/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm index 216286302ca..298844e97b5 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]; }