diff options
author | Stuart Hastings <stuart@apple.com> | 2010-08-02 23:29:03 +0000 |
---|---|---|
committer | Stuart Hastings <stuart@apple.com> | 2010-08-02 23:29:03 +0000 |
commit | 8eab2c2f54d16f518a36eadc3c0d16fea6d75127 (patch) | |
tree | 94a8be798a31149e126c6b3b64c52ef3024841f6 /test/FrontendObjC++ | |
parent | c182cb5784cfe557f3c8fa6cfb208c02d2ed42d5 (diff) | |
download | external_llvm-8eab2c2f54d16f518a36eadc3c0d16fea6d75127.zip external_llvm-8eab2c2f54d16f518a36eadc3c0d16fea6d75127.tar.gz external_llvm-8eab2c2f54d16f518a36eadc3c0d16fea6d75127.tar.bz2 |
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
Diffstat (limited to 'test/FrontendObjC++')
-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 2162863..298844e 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]; } |