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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 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.