Home | History | Annotate | Download | only in SemaCXX

Lines Matching refs:A1

53   struct A1 {
79 void foo(A0 a0, A1 a1, A2 a2, A3 a3, A4 a4, B2 b2) {
81 switch (a1) {} // @81 -- fails for different reasons
96 //expected-error@81 {{statement requires expression of integer type ('extended_examples::A1' invalid)}}
99 //expected-error@81 {{cannot initialize object parameter of type 'extended_examples::A1' with an expression of type 'extended_examples::A1'}}
105 struct A1 { // leads to viable match in C++1y, and no viable match in C++11
137 void foo(A1 a1, A2 a2, B1 b1, B2 b2, C c, D d) {
138 switch (a1) {} // @138 -- should presumably call templated conversion operator to convert to int.
152 //expected-error@138 {{cannot initialize object parameter of type 'extended_examples_cxx1y::A1' with an expression of type 'extended_examples_cxx1y::A1'}}