URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 338 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// Test to make sure & works in c++
|
// Test to make sure & works in c++
|
|
|
struct FILE {
|
struct FILE {
|
int _flags;
|
int _flags;
|
};
|
};
|
|
|
extern struct _fake_filebuf __std_filebuf_2;
|
extern struct _fake_filebuf __std_filebuf_2;
|
|
|
class Value {
|
class Value {
|
int width;
|
int width;
|
public:
|
public:
|
Value();
|
Value();
|
friend Value operator&( __const Value&, __const Value&);
|
friend Value operator&( __const Value&, __const Value&);
|
};
|
};
|
|
|
FILE* Foo ()
|
FILE* Foo ()
|
{
|
{
|
return ((FILE*)&__std_filebuf_2);
|
return ((FILE*)&__std_filebuf_2);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.