Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
init
/
attrib1.C
blob: 839e4ce215d6f66079c3b92ef0ad29d2464a8992 [
file
] [
log
] [
blame
]
// { dg-do run }
void
f
()
__attribute
((
__constructor__
));
int
i
;
void
f
()
{
i
=
1
;
}
int
main
(
int
,
char
**)
{
return
1
-
i
;
}