Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/special/conpr-2a.cc @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do run } */ class foo_t { int x; static int count; public: foo_t(void) { x=++count; } int get(void) { return x; } }; foo_t foo1 __attribute__((init_priority(6000))); foo_t foo2 __attribute__((init_priority(5000)));