Lines Matching full:arg1
14 template<typename R, typename T, typename Arg1>
15 void test_class_method(Arg1 arg1) {
16 R *result1 = [T method1:arg1];
17 R *result2 = [typename identity<T>::type method1:arg1];
18 R *result3 = [ClassMethods method1:arg1]; // expected-error{{cannot initialize a variable of type 'ClassMethods2 *' with an rvalue of type 'ClassMethods *'}}
35 template<typename R, typename T, typename Arg1>
36 void test_instance_method(Arg1 arg1) {
39 R *result1 = [receiver method1:arg1];
40 R *result2 = [im method1:arg1]; // expected-error{{cannot initialize a variable of type 'InstanceMethods2 *' with an rvalue of type 'InstanceMethods *'}}