Sign in
gnu
/
gcc
/
b1143e51359be3b1151d892970f43ae67dee64d2
/
.
/
gcc
/
testsuite
/
g++.dg
/
special
/
conpr-3a.C
blob: b237bb57f36e9fb27f53dda84af71df0551cf3ef [
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
)));