1 // Contributed by Dodji Seketeli <dodji@redhat.com> 2 // Origin PR c++/26693 3 // { dg-do compile } 4 5 struct C0 6 { 7 }; 8 9 template<class T, class U> 10 struct C1 11 { 12 typedef C0 TypedefedC0; 13 14 template<class W> fooC115 void foo (TypedefedC0 *, W) 16 { 17 } 18 C1C119 template<class W> C1 (W w) 20 { 21 TypedefedC0 c; 22 foo (&c, w); 23 } 24 25 }; 26 C0 c0; 27 C1<int, char> c1 (&c0); 28