Skip to content

Commit

Permalink
Diabolical hack to make a test compatible with clang. (Thanks to Dale…
Browse files Browse the repository at this point in the history
…!) Radar 8246180.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110081 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Stuart Hastings committed Aug 2, 2010
1 parent c182cb5 commit 8eab2c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/FrontendObjC++/2010-08-02-NonPODObjectValue.mm
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ - (void) initWithWindowController {
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];
}
Expand Down

0 comments on commit 8eab2c2

Please sign in to comment.