aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.other/ctor1.C
blob: e813d20b15b0640afecfe415f9980111ea00b7ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do run  }
// { dg-additional-sources " ctor1-aux.cc" }

// Origin: Mark Mitchell <mark@codesourcery.com>

template <class T>
struct S {
  template <class U>
  S (U);
};

template <class T>
template <class U>
S<T>::S (U) {}

template S<int>::S (double);