OSDN Git Service

gcc/testsuite/
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / special / conpr-3b.cc
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 foo2 __attribute__((init_priority(5000)));