Revise -mdisable-fpregs option and add new -msoft-mult option
[official-gcc.git] / gcc / testsuite / objc.dg / unnamed-parms.m
blob22426cfed5f6e908fc439d6f31db19a552cb1ff4
1 /* Only needs to compile [see PR 49070 for C++ issue].  */
3 __attribute__((__objc_root_class__))
4 @interface A
5 - (id) :(id)arg0 :(id)arg1;
6 - (id) m:(id)arg0 :(id)arg1 :(id)arg2 :(id)arg3;
7 @end
9 @implementation A
10 - (id) :(id)arg0 :(id)arg1
12   return arg1;
14 - (id) m:(id)arg0 :(id)arg1 :(id)arg2 :(id)arg3
16   return arg2;
18 @end
20 id f1 (A *x)
22   return [x:x:x];
25 id f2 (A *x)
27   return [x m:x:x:x:x];