[cfe-commits] r68213 - /cfe/trunk/test/CodeGenObjC/forward-class-ivar-access.m
Fariborz Jahanian
fjahanian at apple.com
Wed Apr 1 09:51:23 PDT 2009
Author: fjahanian
Date: Wed Apr 1 11:51:23 2009
New Revision: 68213
URL: http://llvm.org/viewvc/llvm-project?rev=68213&view=rev
Log:
Test case for Chris's patch:
http://llvm.org/viewvc/llvm-project?view=rev&revision=68177
Added:
cfe/trunk/test/CodeGenObjC/forward-class-ivar-access.m
Added: cfe/trunk/test/CodeGenObjC/forward-class-ivar-access.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/forward-class-ivar-access.m?rev=68213&view=auto
==============================================================================
--- cfe/trunk/test/CodeGenObjC/forward-class-ivar-access.m (added)
+++ cfe/trunk/test/CodeGenObjC/forward-class-ivar-access.m Wed Apr 1 11:51:23 2009
@@ -0,0 +1,43 @@
+// RUN: clang-cc -emit-llvm -o %t %s
+
+ at class XCLogItemAdapter;
+ at class XCEConfigurableDataSource;
+
+ at interface XCBuildResultsOutlineLogic {
+ XCLogItemAdapter * _toplevelItemAdapter;
+}
+
+ at end
+
+
+ at interface XCBuildResultsOutlineView
+ at property(nonatomic,readonly) XCEConfigurableDataSource * xceDataSource;
+
+ at end
+
+ at interface XCEConfigurableDataSource
+ at property (nonatomic, assign) id context;
+
+ at end
+
+
+ at implementation XCBuildResultsOutlineView
+ at dynamic xceDataSource;
+- selectionSource {
+ XCBuildResultsOutlineLogic * outlineLogic;
+}
+
+ at end
+
+ at interface XCLogItemAdapter {
+ id _textColor;
+}
+
+
+ at end
+
+ at implementation XCLogItemAdapter
+- (id) FOOO
+{
+ return _textColor;
+}
More information about the cfe-commits
mailing list