Test case for r110459. Radar 8264751. Test case by Fariborz Jahanian!
authorStuart Hastings <stuart@apple.com>
Fri, 6 Aug 2010 19:02:24 +0000 (19:02 +0000)
committerStuart Hastings <stuart@apple.com>
Fri, 6 Aug 2010 19:02:24 +0000 (19:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110467 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendObjC++/2010-08-06-X.Y-syntax.mm [new file with mode: 0644]

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 (file)
index 0000000..b33d730
--- /dev/null
@@ -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