URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [ext/] [dllexport3.C] - Rev 307
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/42870
// { dg-do compile { target i?86-*-cygwin *-*-mingw* } }
// { dg-final { scan-assembler "-export:_ZN2SaD1Ev" } }
#define ATTRIBUTE __attribute__ ((dllexport))
class ATTRIBUTE Sa {
public:
Sa()
{}
~Sa();
};
ATTRIBUTE Sa::~Sa()
{return;}
bool DllMain(void *a,void*b,int)
{
Sa s;
return true;
}
Go to most recent revision | Compare with Previous | Blame | View Log