OSDN Git Service

* parser.c (cp_parser_class_specifier): Set class location to that
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / repo4.C
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 } }
6
7 namespace { 
8   struct Foo {}; 
9
10  
11 template <typename Tp> 
12 void foo(Tp) {} 
13  
14 int 
15 main() 
16
17   foo(Foo()); 
18