OSDN Git Service

* lib/gcc-defs.exp (additional_sources): New variable.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / ctor1.C
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>
14 S<T>::S (U) {}
15
16 template S<int>::S (double);