Sign in
llvm
/
llvm-archive
/
8a078a762a98ba34ad83dc2c15e5ff2b86792d78
/
.
/
llvm-gcc-4.2
/
llvmgcc42-2326.9
/
gcc
/
testsuite
/
g++.dg
/
special
/
conpr-2a.cc
blob: 69fb7d648319f5cd115e5c077d784750c10f08f0 [
file
] [
log
] [
blame
]
/* { 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
)));