1 // PR c++/65075 2 // { dg-do compile { target c++11 } } 3 // { dg-options "-Wno-pedantic" } 4 5 template <typename> class C 6 { 7 struct 8 { 9 int i; 10 }; 11 auto operator*(const C m) -> decltype (m.i); 12 }; 13 void fn1 (const C<float>); 14 C<float> a; 15