12 lines
192 B
C++
12 lines
192 B
C++
|
/* { dg-do run } */
|
||
|
|
||
|
class foo_t {
|
||
|
int x;
|
||
|
static int count;
|
||
|
public:
|
||
|
foo_t(void) { x=++count; }
|
||
|
int get(void) { return x; }
|
||
|
};
|
||
|
|
||
|
foo_t foo2 __attribute__((init_priority(5000)));
|