Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
g++.dg
/
special
/
conpr-3a.cc
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
)));