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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [conversion/] [cond3.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/9537
2
 
3
class String
4
{
5
public:
6
    String();
7
    String( char *str );
8
    operator char *();
9
};
10
 
11
const String operator+( String s1, String )
12
{
13
  return s1;
14
}
15
 
16
String valGlue(const String before)
17
{
18
    String ret;
19
    return false ? ret : before + before;
20
}

powered by: WebSVN 2.1.0

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