From: Stuart Hastings Date: Fri, 6 Aug 2010 19:02:24 +0000 (+0000) Subject: Test case for r110459. Radar 8264751. Test case by Fariborz Jahanian! X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=01fae7c850674dadd2fa3ca8393f11b4f0958c96;p=oota-llvm.git 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 --- 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 00000000000..b33d7307af4 --- /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