OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [repo1.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do link }
2
// { dg-options "-frepo" }
3
// { dg-require-host-local "" }
4
// { dg-skip-if "dkms are not final links" { vxworks_kernel } }
5
 
6
// Bug: g++ complains about duplicate explicit instantiations with -frepo.
7
// From Jason Merrill 
8
 
9
// Build then link:
10
 
11
template  struct A {
12
  virtual ~A () { }
13
};
14
 
15
template  void g (T t) { }
16
 
17
template class A;
18
 
19
int main ()
20
{
21
  g (42);
22
}
23
 
24
// { dg-final { cleanup-repo-files } }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.