diff options
author | Stuart Hastings <stuart@apple.com> | 2010-08-06 19:02:24 +0000 |
---|---|---|
committer | Stuart Hastings <stuart@apple.com> | 2010-08-06 19:02:24 +0000 |
commit | 01fae7c850674dadd2fa3ca8393f11b4f0958c96 (patch) | |
tree | d9137292bff4083ae706039dde8c4e9a9438ca94 | |
parent | 5b02901e91a155feca84d7383c1e569aacd1739e (diff) |
Test case for r110459. Radar 8264751. Test case by Fariborz Jahanian!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110467 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/FrontendObjC++/2010-08-06-X.Y-syntax.mm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/FrontendObjC++/2010-08-06-X.Y-syntax.mm b/test/FrontendObjC++/2010-08-06-X.Y-syntax.mm new file mode 100644 index 0000000000..b33d7307af --- /dev/null +++ b/test/FrontendObjC++/2010-08-06-X.Y-syntax.mm @@ -0,0 +1,16 @@ +// RUN: %llvmgcc %s -S -emit-llvm +struct TFENode { + TFENode(const TFENode& inNode); +}; + +@interface TIconViewController +- (const TFENode&) target; +@end + +void sortAllChildrenForNode(const TFENode&node); + +@implementation TIconViewController +- (void) setArrangeBy { + sortAllChildrenForNode(self.target); +} +@end |