1 // { dg-do run  }
2 // { dg-additional-sources " ctor1-aux.cc" }
3 
4 // Origin: Mark Mitchell <mark@codesourcery.com>
5 
6 template <class T>
7 struct S {
8   template <class U>
9   S (U);
10 };
11 
12 template <class T>
13 template <class U>
S(U)14 S<T>::S (U) {}
15 
16 template S<int>::S (double);
17