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/] [new15.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/9782
2
 
3
extern "C" void printf(const char*, ...);
4
 
5
template 
6
struct A {
7
  A() {printf("A::A()\n");}
8
};
9
 
10
 
11
struct B {
12
  B() {printf("B::B()\n");}
13
};
14
 
15
 
16
int main () {
17
  new A<0>[1][1];
18
  new B   [1][1];
19
}

powered by: WebSVN 2.1.0

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