Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / ext / visibility / staticdatamem.C
blob4ec9479a770dd8fa1ff2bdfae1eda4da78bc209a
1 // PR c++/18925
2 // { dg-do compile { target ia64-*-linux* } }
3 // { dg-options "-fPIC -fvisibility=hidden" }
4 // { dg-final { scan-assembler-not "gprel" } }
6 class __attribute__ ((visibility("default"))) Type 
7
8  private: 
9   static long _staticTypeCount; 
10  public: 
11   Type() { _staticTypeCount++; } 
12   ~Type(); 
13 }; 
15 long Type::_staticTypeCount = 0; 
17 Type::~Type() 
18
19  _staticTypeCount--; 
20