summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/repo3.C
blob: cfa38a9e435375d019e595da5f9fbfa3c0801906 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-options "-frepo -DF='a'" }
// { dg-require-host-local "" }
// { dg-skip-if "dkms are not final links" { vxworks_kernel } }

template <typename A, typename B> void f () {}
template <typename A, typename B> void g () { f<int,int>(); }
int main () { g<int,int>(); }

char c = F;

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