URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// PR c++/18925
|
// PR c++/18925
|
// { dg-do compile { target ia64-*-linux* } }
|
// { dg-do compile { target ia64-*-linux* } }
|
// { dg-options "-fPIC -fvisibility=hidden" }
|
// { dg-options "-fPIC -fvisibility=hidden" }
|
// { dg-final { scan-assembler-not "gprel" } }
|
// { dg-final { scan-assembler-not "gprel" } }
|
|
|
class __attribute__ ((visibility("default"))) Type
|
class __attribute__ ((visibility("default"))) Type
|
{
|
{
|
private:
|
private:
|
static long _staticTypeCount;
|
static long _staticTypeCount;
|
public:
|
public:
|
Type() { _staticTypeCount++; }
|
Type() { _staticTypeCount++; }
|
~Type();
|
~Type();
|
};
|
};
|
|
|
long Type::_staticTypeCount = 0;
|
long Type::_staticTypeCount = 0;
|
|
|
Type::~Type()
|
Type::~Type()
|
{
|
{
|
_staticTypeCount--;
|
_staticTypeCount--;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.