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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/29632
2
 
3
struct nullptr_type {
4
 
5
  nullptr_type ( void ) {}
6
 
7
  template < typename T >
8
  operator T* ( void ) const {
9
    return ( 0 );
10
  }
11
} const nullptr;
12
 
13
int main ( void ) {
14
 
15
}
16
 
17
 

powered by: WebSVN 2.1.0

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