URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 384 |
// PR c++/42870
|
// PR c++/42870
|
// { dg-do compile { target i?86-*-cygwin *-*-mingw* } }
|
// { dg-do compile { target i?86-*-cygwin *-*-mingw* } }
|
// { dg-final { scan-assembler "-export:_ZN2SaD1Ev" } }
|
// { dg-final { scan-assembler "-export:_ZN2SaD1Ev" } }
|
|
|
#define ATTRIBUTE __attribute__ ((dllexport))
|
#define ATTRIBUTE __attribute__ ((dllexport))
|
class ATTRIBUTE Sa {
|
class ATTRIBUTE Sa {
|
public:
|
public:
|
Sa()
|
Sa()
|
{}
|
{}
|
~Sa();
|
~Sa();
|
};
|
};
|
ATTRIBUTE Sa::~Sa()
|
ATTRIBUTE Sa::~Sa()
|
{return;}
|
{return;}
|
|
|
bool DllMain(void *a,void*b,int)
|
bool DllMain(void *a,void*b,int)
|
{
|
{
|
Sa s;
|
Sa s;
|
return true;
|
return true;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.