[cfe-commits] r163741 - /cfe/trunk/test/SemaObjCXX/arc-objc-lifetime.mm
Fariborz Jahanian
fjahanian at apple.com
Wed Sep 12 14:27:26 PDT 2012
Author: fjahanian
Date: Wed Sep 12 16:27:26 2012
New Revision: 163741
URL: http://llvm.org/viewvc/llvm-project?rev=163741&view=rev
Log:
objective-C++ test for my previous patch.
// rdar://12280826
Modified:
cfe/trunk/test/SemaObjCXX/arc-objc-lifetime.mm
Modified: cfe/trunk/test/SemaObjCXX/arc-objc-lifetime.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjCXX/arc-objc-lifetime.mm?rev=163741&r1=163740&r2=163741&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjCXX/arc-objc-lifetime.mm (original)
+++ cfe/trunk/test/SemaObjCXX/arc-objc-lifetime.mm Wed Sep 12 16:27:26 2012
@@ -55,3 +55,14 @@
- (void) N : (__strong NSObject***) arg0 : (__strong NSObject<P>***)arg : (float**) arg1 : (double) arg2 {}
- (void) BLOCK : (T&) arg0 : (T)arg : (__strong T*) arg1 {} // expected-warning {{method parameter of type '__autoreleasing T &' (aka 'void (^__autoreleasing &)()') with no explicit ownership}}
@end
+
+// rdar://12280826
+ at class NSMutableDictionary, NSError;
+ at interface Radar12280826
+- (void)createInferiorTransportAndSetEnvironment:(NSMutableDictionary*)environment error:(__autoreleasing NSError*&)error;
+ at end
+
+ at implementation Radar12280826
+- (void)createInferiorTransportAndSetEnvironment:(NSMutableDictionary*)environment error:(__autoreleasing NSError*&)error {}
+ at end
+
More information about the cfe-commits
mailing list