1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// PR c++/17775 // { dg-options "-frepo" } // { dg-final { cleanup-repo-files } } // { dg-require-host-local "" } // { dg-skip-if "dkms are not final links" { vxworks_kernel } } namespace { struct Foo {}; } template <typename Tp> void foo(Tp) {} int main() { foo(Foo()); }