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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [new2.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/21336
2
 
3
typedef __SIZE_TYPE__ size_t;
4
template void* operator new( size_t Size, _T&);
5
struct B {
6
  int a;
7
  int* m() {
8
    return new(a) int;
9
  }
10
};
11
B* n() {
12
  return new B();
13
}
14
 

powered by: WebSVN 2.1.0

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