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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [parse/] [builtin1.C] - Blame information for rev 154

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
namespace std {
2
class Base {};
3
}
4
 
5
struct Derived : public std::Base {
6
  operator const char*() const;
7
  operator bool(void) const;
8
};
9
 
10
void log(const char* str);
11
 
12
void nothing()
13
{
14
  Derived temp;
15
  log(temp);
16
}

powered by: WebSVN 2.1.0

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