PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / repo7.C
blobdafb3f5597c1c165094df7fe1f3e81559fa88a57
1 // PR c++/34340
2 // { dg-options "-frepo" }
3 // { dg-final { cleanup-repo-files } }
4 // { dg-require-host-local "" }
5 // { dg-skip-if "dkms are not final links" { vxworks_kernel } }
7 struct A
9   int a;
12 template <typename T> struct D
14   static const A b;
17 template<typename T> const A D<T>::b = { 2 };
18 template class D<A>;
20 const A *x = &D<A>::b;
22 int
23 main ()