Debian Codegraph @

gcc/testsuite/g++.dg/special/conpr-3a.cc

raw
1 /* { dg-do run } */
2
3 class foo_t {
4 int x;
5 static int count;
6 public:
7 foo_t(void) { x=++count; }
8 int get(void) { return x; }
9 };
10
11 foo_t foo1 __attribute__((init_priority(6000)));