[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / repo10.C
blobc92f7a52b60d40040308321cc2020f6e32c74101
1 // PR c++/51910
2 // { dg-options -frepo }
3 // { dg-require-host-local "" }
4 // { dg-skip-if "dkms are not final links" { vxworks_kernel } }
5 // { dg-final cleanup-repo-files }
7 template<typename T>
8 struct Foo
10   virtual ~Foo() { }
13 int main( int, char*[] )
15   Foo<int> test;