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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [explicit1.C] - Blame information for rev 853

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do link }
2
// { dg-options "-fno-implicit-templates" }
3
 
4
template  struct C {
5
  ~C();
6
};
7
template  C::~C() {}
8
 
9
struct X {
10
  C *p;
11
  ~X() { delete p; }
12
};
13
 
14
template class C;
15
C x;
16
 
17
int main () {}

powered by: WebSVN 2.1.0

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