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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [init/] [new8.C] - Blame information for rev 841

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

Line No. Rev Author Line
1 149 jeremybenn
typedef __SIZE_TYPE__ size_t;
2
 
3
enum Refcount_Type {
4
  NO_REFCOUNT
5
};
6
 
7
struct d0_Unknown_Object
8
{
9
  void* operator new (size_t, size_t,  Refcount_Type type);
10
  void operator delete (void*, size_t, Refcount_Type);
11
  d0_Unknown_Object ();
12
};
13
 
14
void make ()
15
{
16
  new (10, NO_REFCOUNT) d0_Unknown_Object;
17
}

powered by: WebSVN 2.1.0

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