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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [eh/] [ctor3.C] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// PR C++/18984
2
//  We just to ICE as we did not add a
3
// deference to invisible by reference
4
// variable
5
 
6
// { dg-do compile }
7
 
8
 
9
struct Str
10
{
11
    Str(const char *chars);
12
    Str& operator=(const char *chars);
13
    virtual operator char*() const;
14
};
15
Str _localName(Str fullname)
16
{
17
  return (char*)fullname;
18
}

powered by: WebSVN 2.1.0

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