[llvm-commits] [llvm] r110081 - /llvm/trunk/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm
Stuart Hastings
stuart at apple.com
Mon Aug 2 16:29:03 PDT 2010
Author: stuart
Date: Mon Aug 2 18:29:03 2010
New Revision: 110081
URL: http://llvm.org/viewvc/llvm-project?rev=110081&view=rev
Log:
Diabolical hack to make a test compatible with clang. (Thanks to Dale!) Radar 8246180.
Modified:
llvm/trunk/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm
Modified: llvm/trunk/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC%2B%2B/2010-08-02-NonPODObjectValue.mm?rev=110081&r1=110080&r2=110081&view=diff
==============================================================================
--- llvm/trunk/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm (original)
+++ llvm/trunk/test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm Mon Aug 2 18:29:03 2010
@@ -18,6 +18,9 @@
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];
}
More information about the llvm-commits
mailing list