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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [template/] [array9.C] - Blame information for rev 315

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

Line No. Rev Author Line
1 301 jeremybenn
// PR c++/18429
2
 
3
int subtrees = 4;
4
template< class T >
5
struct Tree {
6
  Tree* L[subtrees]; // { dg-error "" }
7
  Tree* R[subtrees]; // { dg-error "" }
8
  ~Tree()
9
  {
10
    delete [] L[0]; // { dg-error "" }
11
    delete [] R[0]; // { dg-error "" }
12
  }
13
};
14
 
15
void f()
16
{
17
  Tree t;
18
}

powered by: WebSVN 2.1.0

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