PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / repo4.C
blob64882a8c694304c1a2c853c3dae08ab87f33f315
1 // PR c++/17775
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 namespace { 
8   struct Foo {}; 
9
11 template <typename Tp> 
12 void foo(Tp) {} 
14 int 
15 main() 
16
17   foo(Foo()); 
18