Remaining work to collect objective-c's type qualifiers and use them to encode
method types.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43617 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/method-encoding-2.m b/test/Sema/method-encoding-2.m
new file mode 100644
index 0000000..b7a5e73
--- /dev/null
+++ b/test/Sema/method-encoding-2.m
@@ -0,0 +1,11 @@
+// RUN: clang -rewrite-test %s
+
+@interface Intf 
+- (in out bycopy id) address:(byref inout void *)location with:(out oneway unsigned **)arg2;
+- (id) another:(void *)location with:(unsigned **)arg2;
+@end
+
+@implementation Intf
+- (in out bycopy id) address:(byref inout void *)location with:(out oneway unsigned **)arg2{}
+- (id) another:(void *)location with:(unsigned **)arg2 {}
+@end