summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/repo4.C
blob: 84575cd9469ed8922477226d316889d4deac5635 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// { dg-do link }
// { dg-options "-frepo" }
// { dg-require-host-local "" }
// { dg-skip-if "dkms are not final links" { vxworks_kernel } }

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

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

int main ()
{
  S<int> s;
}

// { dg-final { cleanup-repo-files } }